Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-05-2016, 01:10 PM   #1
Senior Member
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Can't get rsnapshot to work

I'm running this on Debian Jessie and thought I had it to do a weekly & monthly backups.

I was following this Archlinux guide on configuring it.

If I set it up with systemdctl, as mention in Arch wifi, do I still need to setup a cron job?

Assuming it will keep the last backups for a 3 month interval after the weekly backup. This is my first time trying rsnapshot. How do I define the backup to run, lets say every Tues. at 23:00 (11:00pm)?

I want a weekly backup. This is how I have it setup in my rsnapshot config file.

#retain hourly 6
#retain daily 7
retain weekly 4
retain monthly 3

I want it to backup weekly (Tues. 23:00). Does the "retain monthly 3" keep the past 3 months once completed for 3 months?

It was suppose to have ran This morning at 23:00 but nothing happen.

Old 10-18-2016, 12:31 PM   #2
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 877

Rep: Reputation: 124Reputation: 124
I just set up an rsnapshot server, using Ubuntu 14.04. The cron file rsnapshot provides in the package, /etc/cron.d/rsnapshot, doesn't get read by the cron system. The solution is to put scripts in /etc/cron.weekly/ and /etc/cron.monthly/ and make them executable. Important: don't put any periods in the filenames of your scripts, or they won't execute.

rsnapshot weekly
rsnapshot monthly
Then (as root):
chown root:root /etc/cron.weekly/rsnapshot_weekly
chown root:root /etc/cron.monthly/rsnapshot_monthly
chmod 755 /etc/cron.weekly/rsnapshot_weekly
chmod 755 /etc/cron.monthly/rsnapshot_monthly
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsnapshot issue NoRearView Linux - Server 2 03-07-2016 03:04 PM
Backup VM using rsnapshot cccc Linux - Virtualization and Cloud 3 02-05-2010 09:35 AM
Rsnapshot du automation steven19782007 Linux - Newbie 2 06-11-2009 02:42 AM
Backups with rsnapshot jeremy LQ Articles Discussion 0 07-30-2007 01:58 PM
rsync and rsnapshot madman100 Linux - Newbie 4 10-10-2006 10:33 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration