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.

For more info, click here.

17 questions
12
votes
2 answers

Use rsync for backup without overwrite

I know about --ignore-existing option and wonder if there's something slightly different. My situation is: I have a webserver with large amount of user-uploaded pictures. It's about 2TB now. Usually these files are not modified at all. I use rsync…
Kasheftin
  • 7,509
  • 11
  • 41
  • 68
8
votes
2 answers

rsnapshot, multiple backup destinations

########################### # SNAPSHOT ROOT DIRECTORY # ########################### # All snapshots will be stored under this root directory. # snapshot_root /.snapshots/ ############################### ### BACKUP POINTS / SCRIPTS…
branquito
  • 3,864
  • 5
  • 35
  • 60
2
votes
1 answer

btrfs send / receive on incremental folders that rotate

I am using incremental backups using rsnapshot combined with a custom cmd_cp and cmd_rm to make use of btrfs snapshots, this procudes multiple daily btrfs subvolumes: .sync daily.0 daily.1 daily.2 .sync is the folder that gets synced to using SSH…
mauserrifle
  • 604
  • 1
  • 7
  • 17
2
votes
1 answer

Rsnapshot automatic backups with link_desk and sync_first

My .conf file: link_desk 1 sync_first 1 I'm using cron to do interval backups. 0 * * * * rsnapshot sync 10 * * * * rsnapshot hourly 30 3 * * * rsnapshot daily 0 3 * * 1 rsnapshot weekly 30 2 1 * * rsnapshot monthly It's…
Mindau
  • 690
  • 6
  • 19
2
votes
1 answer

Why does rsnapshot not exclude directories I specify?

I am setting up backups with rsnapshot but I'm having trouble with the excludes. I have read a lot about it and I know that there are important differences in rsync regarding the use of slashes. But I don't get why this doesn't work. My (simplified)…
yotka
  • 1,002
  • 2
  • 11
  • 19
2
votes
2 answers

rsnapshot on Linux fails with "returned 12 while processing"

I thought I had rsnapshot all setup properly, but after checking my logs the next day I found the following: [05/Sep/2014:10:34:11] /usr/bin/rsnapshot daily: ERROR: /usr/bin/rsync returned 12 while processing…
Brad Grissom
  • 3,633
  • 3
  • 21
  • 23
1
vote
1 answer

Rsnapshot Issue

I am trying to do some backups with Rsnapshot and am constantly getting this error: /usr/bin/rsync -av --delete --numeric-ids --relative --delete-excluded \ --stats -L --whole-file --exclude=*/web/ --exclude=*/tmp/ \ --exclude=*/dms/…
Milos Cuculovic
  • 19,631
  • 51
  • 159
  • 265
1
vote
2 answers

resume Rsnapshot to same drive

Sometimes, on a large rsync using Rsnapshot, the NFS mount we are syncing to will drop. Then when you run: rnsapshot monthly to resume it, it will behave as if this is a brand new, rotating the monthly.0 to monthly.1 and so on. Is there a way to…
jwillis0720
  • 4,329
  • 8
  • 41
  • 74
0
votes
1 answer

Hardening authorized_keys used in rsync backup

I'm trying to make a rootfs backup from ServerA on to ServerB. The connection is one way and is initialized from ServerB using rsnapshot. I have made a backup account on ServerA and enabled paswordless sudo only for rsync What I'm trying to…
st00nks
  • 1
  • 2
0
votes
1 answer

Why does `rsnapshot` repeatedly request password?

My server configuration file has several backup lines that sync changes from my laptop's home directory. Since reinstalling the server OS (OpenSuse), rsnapshot repeatedly requests the laptop password. Passwordless ssh is configured and apparently…
Tom Russell
  • 1,015
  • 2
  • 10
  • 29
0
votes
0 answers

How to exclude a symbolic link in rsnapshot

I am using rsnapshot to manage my backups. The file /home/foo/bar is a symbolic link to a folder, and I want to exclude it. The --exclude option does not work, because if the pattern ends with a / then it will only match a directory, not a…
zar
  • 113
  • 1
  • 7
0
votes
0 answers

Configuring rsnapshot to backup multiple computers - individual exclusion rules

I've got rsnapshot set up to backup two computers on my local network, as well as the server it's running on. How do I specify individual exclude sets for each backup? As it stands, I have individual cronjobs for each computer, each with its own…
ijustlovemath
  • 703
  • 10
  • 21
0
votes
1 answer

Rsnapshot loses directory slash when using rsync_long_args=

I am using rsnapshot for backups and noticed a problem. I defined some rsync_long_args in the rsnapshot.conf file rsync_long_args --delete --numeric-ids --relative Further in the file, when declaring BACKUP POINTS / SCRIPTS, I need to add…
Milos Cuculovic
  • 19,631
  • 51
  • 159
  • 265
0
votes
1 answer

Rsync - detects changes on chmod and chown

I have some backup processes using rsnaphson, himself using rsync. Some big data files have changed the owner / permissions and are detected as file changes by rsync. I would like to disable this feature, so for example a file that changed the…
Milos Cuculovic
  • 19,631
  • 51
  • 159
  • 265
0
votes
1 answer

php rsnapshot config generator, tabs does not work properly

I am trying to create rsnapshot config files using a script, the scripts creates the file and uploads it to the backup server just fine. Note: both servers are running centos6 Once i try to run it on the backup server i get following…
1
2