linuxserver.io 175 Posted September 27, 2020 Share Posted September 27, 2020 Application Name: Rsnapshot Application Site: https://www.rsnapshot.org/ Docker Hub: https://hub.docker.com/r/linuxserver/rsnapshot/ Github: https://github.com/linuxserver/docker-rsnapshot Please post any questions/issues relating to this docker you have in this thread. If you are not using Unraid (and you should be!) then please do not post here, rather use the linuxserver.io forum for support. Quote Link to post
nerbonne 0 Posted October 18, 2020 Share Posted October 18, 2020 First post, weee. Any idea why I'm getting this error. The folder does exist. ERROR: backup /mnt/user/Private/ localhost/ - Source directory \ "/mnt/user/Private/" doesn't exist Quote Link to post
saarg 411 Posted October 18, 2020 Share Posted October 18, 2020 7 hours ago, nerbonne said: First post, weee. Any idea why I'm getting this error. The folder does exist. ERROR: backup /mnt/user/Private/ localhost/ - Source directory \ "/mnt/user/Private/" doesn't exist Because you don't understand how volume bind mounts work in docker? Always post the docker run command if you want help. Quote Link to post
rob_robot 2 Posted October 28, 2020 Share Posted October 28, 2020 (edited) I have edited rsnapshot.conf and crontabs/root in the appdata directory as follows and then restarted the docker, but the cron does not seem to get started. I do not see any snapshots being created so far. Is there anything else that needs to be done? # do daily/weekly/monthly maintenance # min hour day month weekday command */15 * * * * run-parts /etc/periodic/15min 0 * * * * run-parts /etc/periodic/hourly 0 2 * * * run-parts /etc/periodic/daily 0 3 * * 6 run-parts /etc/periodic/weekly 0 5 1 * * run-parts /etc/periodic/monthly # rsnapshot examples 0 */2 * * * rsnapshot alpha 30 4 * * * rsnapshot beta 30 23 * * 0 rsnapshot gamma The configuration should trigger alpha backups every 2h, beta backups daily at 4:30am and gamma backups weekly on Sunday evening (23:30). Edited October 28, 2020 by rob_robot Quote Link to post
rob_robot 2 Posted October 28, 2020 Share Posted October 28, 2020 (edited) It was an error in the config file. To check syntax I suggest running rsnapshot configtest inside the docker container, as stated on the GitHub page for rsnapshot https://github.com/rsnapshot/rsnapshot/blob/master/README.md#configuration Edited October 28, 2020 by rob_robot Quote Link to post
5 posts in this topic Last Reply
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.