There is no official documentation for an automated backup script. Need someone to step up and start something. If you canāt do it yourself, you can create a feature request on github.
Iām having problem with the script. I appreciate if you could help. Here is what Iām getting:
sudo: no tty present and no askpass program specified
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.1]
bash: -c: line 0: syntax error near unexpected token (' bash: -c: line 0:mysqldump --user=root --password=Supersecretpass --all-databases --lock-tables | bzip2ā
Thanks for your reply, I already tried that but didnāt help. It actually doesnāt even accept the user password.
ubuntu@192.168.178.26ās password:
sudo: no tty present and no askpass program specified
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.1]
When i leave it as root, it asks me the password for root@192.168.178.26 which is supposed to be the ubuntu user password right? it doesāt accept itā¦
Ohh okā¦ I assumed its for nextcloud box given the Thread titleā¦ Yes, i have the box and looking for a backup solution, mainly for data / contacts / calendar / notes . And i was trying to make your script workā¦