Questions tagged [rsnapshot]

Rsnapshot is a filesystem snapshot utility for making backups of local and remote systems.

Rsnapshot is a filesystem snapshot utility for making backups of local and remote systems.

Using rsync and hard links, it is possible to keep multiple, full backups instantly available. The disk space required is just a little more than the space of one full backup, plus incrementals.

Official page

119 questions
6
votes
1 answer

Using Rsnapshot with sync_first, link_dest, and use_lazy_deletes

I've set up rsnapshot with the configuration below and it seems to work fine. However, if I understand what I have read correctly, in the rsnapshot docs and other tutorials, the operation would be more robust with these options added: link_dest…
David Rahrer
  • 103
  • 8
6
votes
2 answers

rsnapshot diff between snapshots

I am using rsnapshot to manage incremental backups of some GNU/Linux servers. Although rsnapshot is delivered with a tool called rsnapshot-diff it just provide disk space statistics. The question is how to get a diff: new and deleted files, on a…
Angus Macyver
  • 61
  • 1
  • 3
6
votes
6 answers

rsync/ssh/rsnapshot backup -- remote script execution

I have the following settings in my configuration file: (/etc/rsnapshot.conf) Script/Tool: http://www.rsnapshot.org/ backup_script ssh root@host.domain.com "sh /home/user/backup_mysql.sh" ./mysql the example shows the…
Tiffany Walker
  • 6,681
  • 14
  • 56
  • 82
5
votes
2 answers

full or incremental backup of large number of files

I have a large amount of files in both quantity and total file size. (we're talking a few terabytes). I would like to sync these files/folders once to an external backup system, then run a daily task that will resync the backup based on the daily…
D.Mill
  • 379
  • 5
  • 15
5
votes
2 answers

Any good rsnapshot nagios plugins?

I'm using Nagios to monitor servers, and we use rsnapshot for backups. I'd like a plugin for Nagios that monitors that rsnapshot is being run successfully. I've seen some rsnapshot plugins that will do a whole diff on a directory tree, which is way…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
4
votes
1 answer

rsnapshot limiting download rate

Trying to make a backup of Ubuntu server using rsnapshot, here is my config file: config_version 1.2 snapshot_root /root/backups cmd_cp /bin/cp cmd_rm /bin/rm cmd_rsync /usr/bin/rsync cmd_ssh /usr/bin/ssh cmd_logger …
sam
  • 41
  • 1
4
votes
1 answer

Configuring rsnapshot to only daily backups

I configured rsnapshot so it would not backup hourly by commenting out the hourly cronjob in /etc/cron.d/rsnapshot: #0 */4 * * * root /usr/bin/rsnapshot hourly 30 3 * * * root /usr/bin/rsnapshot daily 0 3 *…
rubo77
  • 2,469
  • 4
  • 34
  • 66
4
votes
1 answer

Do different rsnapshot retains use the same hard links?

Say I have a weekly and monthly backup configured in rsnapshot. Will the weekly backups create hard links to the same files created by a previous monthly backup (and vice versa)?
Fela Maslen
  • 1,243
  • 2
  • 12
  • 19
4
votes
2 answers

rsnapshot : will the initial backup be retained forever?

When making a backup with rsnapshot, "[...] we first replicate the previous backup into a parallel directory structure, creating all the directories and making hard links to all the files.". This is all good. I assume this implies that the initial…
sbrattla
  • 1,578
  • 4
  • 28
  • 52
4
votes
1 answer

Can I get rsnapshot to create LVM snapshots on a remote machine?

I'm currently running rsnapshot on host1, backing up some files from host2 using the inbuilt SFTP support (I have daily, weekly, and monthly backups running in a standard rsnapshot configuration). Both hosts are running Ubuntu and use LVM. Is there…
Andrew Ferrier
  • 894
  • 9
  • 21
4
votes
1 answer

Rsnapshot hard-link ONLY + diffs

We have a 39 TB linux server (mdadm raid 6 15 3TB Drives) that has about 12TB of working data on it. Initially I wanted to create a snapshot system that only saved the data that was changed, much like a copy-on-write filesystem such as ZFS or what…
Scott C.
  • 41
  • 1
4
votes
1 answer

Setting up Rsnapshot for casual manual backup?

I am confused with new Rsnapshot configuration. In current version there is a different way of specifiying backup intervals, like so: retain hourly 2 retain weekly 7 retain monthly 2 I would like to do a manual backup few times a month. I'd like…
Danijel
  • 256
  • 6
  • 19
4
votes
1 answer

How to use rsnapshot without remote root?

I've configured an in-house server to use rsnapshot to backup our hosted RHEL servers but in order to do so, I'm using the root account on those servers so I have access to everything including restricted /etc files like /etc/shadow. Is there a…
wag2639
  • 2,145
  • 6
  • 24
  • 33
3
votes
2 answers

ZFS and rsnapshot for backup

I currently run an OwnCloud server with about 25 accounts, 2.6 TB, and moderately growing. As data will be stored for the next several decades, the OwnCloud data is on a mirrored ZFS file system, to preserve data integrity. I use rsnapshot to retain…
andrew512
  • 31
  • 4
3
votes
1 answer

rsnapshot: why daily/weekly/monthly instead of many daily backups?

The daily/weekly/monthly backup scheme is often recommended for backups. As far as I understand rsnapshot, backups are really cheap due to hardlinking. Is there any advantage of say retain daily 7 retain weekly 4 retain monthly…
BayerSe
  • 245
  • 1
  • 2
  • 7