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

115 questions
42
votes
1 answer

What exactly will --delete-excluded do for rsync?

I use rsync with great pleasure for backing up my servers, although I do have a question about the --delete-excluded parameter. /usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded --rsh=/usr/bin/ssh root@server01:/etc…
ujjain
  • 3,963
  • 15
  • 50
  • 88
22
votes
8 answers

Doing an rm -rf on a massive directory tree takes hours

We're using rsnapshot for backups. It keeps lots of snapshots of the backuped up file, but it does delete old ones. This is good. However it's taking about 7 hours to do a rm -rf on a massive directory tree. The filesystem is XFS. I'm not sure how…
Amandasaurus
  • 30,211
  • 62
  • 184
  • 246
17
votes
4 answers

Rsync -avzHP follows hardlinks instead of copying them as hardlinks

I use rsnapshot to create hourly/daily/weekly/monthly backups of my "work"-share. Now I'm trying to copy the whole backup-directory onto an external drive using rsync. I used this command/parameters within a screen session (yes, the…
woerndl
  • 273
  • 1
  • 2
  • 7
9
votes
3 answers

How to truncate backup paths in rsnapshot

I'm not sure if the heading is really coorect. I have a line in my rsnapshot.conf backup root@123.123.123.123:/mnt/rsnapshot/ srv01/ So rsnapshot creates a directors RSNAPSHOT_ROOT/daily.0/srv01/mnt/rsnapshot and puts the backed-up files…
andreas-h
  • 1,054
  • 1
  • 16
  • 27
9
votes
3 answers

How To Prevent Access To Unmounted Mount Point

Ok, I have this in fstab //windows_mashine/Backup /backups cifs credentials=/root/.credentials,rw,_netdev,iocharset=utf8,uid=1000 0 0 I have rsnapshot in my cron which backups /etc/ and /usr/local/ and some other files to /backups Recently I…
jonny
  • 357
  • 1
  • 3
  • 14
9
votes
4 answers

Which filesystems offer snapshot functionality for users to recover data?

I'm working on a project that will teach linux to youth. Knowing they will have a tendency to delete or corrupt items in their home directories we are looking for a good snapshot option. We will not have access to fancy tools available from major…
Gray Race
  • 833
  • 2
  • 10
  • 20
9
votes
3 answers

What Folders Should I Not Backup on CentOS?

I'm using rsnapshot to start backing up a CentOS 5.5 install and I need a list of folders that I should probably exclude from the backups. The server is primarily a LAMP web server, and will be serving at the time of the backup, though should be…
InvisibleFrisbee
  • 363
  • 1
  • 3
  • 8
8
votes
1 answer

delete rsnapshot directories

Looking to move from rsnapshot backups to something like backupninja. I'm having trouble finding a definitive answer on how to delete the rsnapshot backups. From what I understand many of the files are hard links and not actual copies. How can I…
Andrew Grothe
  • 185
  • 1
  • 7
8
votes
2 answers

What is a safe way to back up a sparsebundle that is exported via afpd?

I work with a number of OSX client machines that back up via TimeMachine to AFP shares on an Ubuntu Linux file server, exported by netatalk/afpd. These clients back up at arbitrary times of the day, every day. There are other important…
davidA
  • 353
  • 2
  • 11
7
votes
1 answer

rsnapshot LVM fails to remove snapshot volume

I am using rsnapshot on a Debian Wheezy server. This was recently upgraded from squeeze. Since the upgrade, I am getting the following error from the hourly cron job: remote rm -rf /share/HDA_DATA/backup/rsnapshot/hourly.3 p1=-rf…
Paul
  • 1,228
  • 12
  • 24
7
votes
2 answers

rsnapshot to Amazon S3?

I'm looking at rsnapshot and S3 to backup my server. But since rsnapshot can't directly upload to S3, and I'm not sure if S3 preserves file permissions, I'm thinking of archiving the backup folders created by rsnapshot and uploading them to S3. Is…
john2x
  • 173
  • 1
  • 6
7
votes
2 answers

Should I be using LVM snapshots along with rsnapshot?

I manage a CentOS 4.8 server for a small workgroup. Last year I converted the filesystem to LVM over software RAID (RAID 1, two mirrored drives). I now have the following filesystems on LVM/RAID: /dev/mapper/vg-home 619G 231G 358G 40%…
Phil Hollenback
  • 14,647
  • 4
  • 34
  • 51
7
votes
3 answers

rsync with --hard-links freezes

I have a large directory called servers, which contains many hard-links made by rsnapshot. That means that the structure is more or less…
Adam Matan
  • 12,504
  • 19
  • 54
  • 73
6
votes
2 answers

rsnapshot vs zfs / btrfs snapshots

Currently I'm using rsnapshot to implement a daily / weekly / monthly backup scheme on an external disk. Lately I've been reading alot about copy-on-write file systems like zfs and btrfs. I quite like the ability to store snapshots to go back in…
BayerSe
  • 245
  • 1
  • 2
  • 6
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
1
2 3 4 5 6 7 8