Backup Nextcloud with seperate DATA folder and the database?!?!?

Thanks.
But now I have another two problems:

  1. I only can run the “mysqldump”-command as root
    sudo -s
    mysqldump --lock-tables …
    Just to use:
    sudo mysqldump --lock-...
    does not work!
    When I add +%Y%m%d.bak, I get this error:
    mysqldump: Couldn’t find table: +%Y%m%d.bak

  2. and my last question from my post above:
    #After I run rsync once, what happens wenn I run the same command again? Does it sync from source to destination?

Thanks again :smiley: