Questions tagged [rsnapshot]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
18 views

Filter the output of locate not to show the Duplicates in rsnapshot

When I use locate on my server and the result is in my rsnapshot backup then I get all those duplicates. I could use grep to filter out all rsnapshot files: locate something_in_backup | grep -v /var/...
user avatar
  • 2,272
0 votes
0 answers
15 views

Managing /etc/rsnaphost file for mutliple servers

I'm looking into the best way to manage the /etc/rsnapshot file which tells rsnapshot what to backup. I have about a hundred servers. While I could modify the /etc/rsnapshot file manually, I'm sure ...
user avatar
  • 432
1 vote
1 answer
379 views

explain rsnapshot incremental rotation

Need help on rsnapshot. I am doing full backup every week with bash scripting which is costly for disk space. Now I am thinking to use rsnapshot and what I want to do with rsnapshot is do a weekly ...
user avatar
0 votes
1 answer
143 views

Why are rsnapshot cron jobs running on the wrong schedule?

I have hourly, daily, weekly etc. backups of a mysql database run by rsnapshot. These are running regularly, but on the wrong schedule. Here are the contents of /etc/cron.d/rsnapshot: 5 * *...
user avatar
1 vote
1 answer
219 views

(rsync on) mounted volume: hard links seem to be preserved, but space calculated as full files

I'm trying to set up a space-efficient rotating backup scheme with rsnapshot / rsync from a server to a Hetzner storagebox. I'm having a hard time understanding how hard links on the destination are ...
user avatar
  • 319
1 vote
0 answers
487 views

rsnapshot / rsync protocol version mismatch -- is your shell clean?

on both computer same version of rsync: rsync --version rsync version 3.1.2 protocol version 31 cat /etc/rsnapshot.conf [...] backup root@IP:/etc/ localhost/ ssh_args=-i /root/.ssh/id_rsa ...
user avatar
  • 1,045
1 vote
0 answers
37 views

Can entries in QNAP (rsnap) hosts file be commented out?

We're using QNAP rsnap for our Linux servers backup. rsnap uses the .../bin/hosts file to list the machines on which the backup is to run. Is there a way to comment out some machines? It seems ...
user avatar
3 votes
1 answer
493 views

How rsnapshot manages moved and/or renamed files and folders

I consider using rsnapshot for backuping large amount of data and I wonder how rsnapshot manage when a folder at the source is moved or rename, is it detected it and edit associated hard links or it ...
user avatar
0 votes
1 answer
546 views

Rsnapshot remote backup_script execution using non standard ssh port and key?

Using rsnapshot to backup a remote host with a non-standard ssh port (:444) rsnapshot.conf setup: ssh_args -p444 backup user@domain:/data/location/ vps2/site/ OK, no issue on port ...
user avatar
0 votes
1 answer
326 views

Backup failure alerting in GCP

I was try to configure the snapshot failure alerting in GCP but unfortunately it wont work at all. I scheduled the snapshot for disks and delete the VM...but still my snapshot scheduler takes ...
user avatar
1 vote
1 answer
598 views

In Rsnapshot, error in config excluding remote folders

I've severals VPS with Ubuntu 18.04 LTS. One of these VPS is the backup master and launches rsnapshot to backup its own folders and pull the remote folders on the other VPSs. These are the commands ...
user avatar
1 vote
1 answer
1k views

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 ...
user avatar
1 vote
1 answer
71 views

rsnapshot produces a double backup of localhost/media

I use rsnapshot in my Xen host to backup all vms via their snapshots. Now rsnapshot backups everything double, because it creates an extra "localhost" folder in each daily backup, that contains ...
user avatar
  • 2,272
0 votes
1 answer
683 views

rsnapshot through nfs: failed to preserve ownership|cannot access errors

Trying to rsnapshot to an nfs share I get some ownership and access errors, even if I can visibly do any operation on my shares with UID 1000 and GID 1000 on both server/client. Server exports /etc/...
user avatar
1 vote
1 answer
191 views

Git clone through rsnapshot fails

I'm trying to run my custom backup script through rsnapshot. It simply clones a given git repository to the current working directory. It works fine when run without rsnapshot. /etc/rsnapshot.config: ...
user avatar
1 vote
1 answer
239 views

Multiple server backups using kubernetes and rsnapshot

I am looking to setup multiple backups, from multiple servers in different geographical locations at different times using something like a docker/rsnapshot and kubernetes (master + a couple nodes at ...
user avatar
  • 11
2 votes
1 answer
1k views

Why is rsnapshot with sync_first not working properly?

I had been using rsnapshot successfully for years to backup my Ubuntu notebook computers to my Ubuntu server. I recently decided to switch to using the sync_first option on the server and an anacron ...
user avatar
  • 21
1 vote
0 answers
304 views

rsnapshot gamma and delta not running

I have used rsnapshot for many years and never had an issue but I can't figure this one out. Version is 1.4.2. I have the following in rsnapshot.conf: retain alpha 8 retain beta 7 ...
user avatar
0 votes
2 answers
444 views

My rsnapshot is freezing without errors

I try to make backup-system. I try to use rsnapshot. description: Client with rsnapshot put data in sshfs-mounted folder (sftp backup-server). I make ssh-key, mounted it, everything fine. In ...
user avatar
  • 129
1 vote
1 answer
564 views

rsnapshot-diff - what's using all that space?

I am running rsnapshot, and certain backups are taking up a lot of space. I've run rsnapshot-diff, and it gives results like this: Between /home/backups/hourly.4/mybackupdir/ and /home/backups/daily....
user avatar
0 votes
1 answer
737 views

How to have rsnapshot link to original files?

I'd like rsnapshot to not create a second copy of all my files and instead just have hardlinks to the original files and only save a copy of changes. I have a windows and linux server. I would like ...
user avatar
  • 157
1 vote
0 answers
97 views

rsnapshot ignoring a "backup" line, logs are empty

I've been using rsnapshot to backup my server. In one server (debian 7) the exact same config works as expected. In the other (debian 8), it skips a directory im trying to backup, which has mysql dump ...
user avatar
0 votes
0 answers
545 views

Rsnapshot frequently exits with error 12 when processing tar.gz file

I have an rsnapshot tool to backup some machines. It's running on a QNAP NAS and backing up several machines. One of the things I backup is database backups. On one machine I create both plain text ...
user avatar
  • 155
2 votes
0 answers
661 views

Safely deleting rsnapshot _delete folders

I have been using rsnapshot to backup a computer's / for approximately a year. The destination drive has filled up unexpectedly quickly within the last week or so, and the rsync command has failed, ...
user avatar
  • 121
2 votes
1 answer
2k views

Configuring rsnapshot to only daily backups with sync_first

I want to create only daily backups in my server using sync_first option. How do I have to setup my server to backup once a day?
user avatar
  • 2,272
8 votes
1 answer
3k views

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 ...
user avatar
1 vote
0 answers
280 views

How to create image file and mount via. loopback (Ubuntu to remote backup space)

I've been fiddling around with the Hetzner Backup Space and I want to use rsync via. rsnapshot in order to back up my files (more info at their Wiki here) They state in their documentation: The ...
user avatar
  • 65
4 votes
1 answer
485 views

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 ...
user avatar
  • 41
0 votes
1 answer
152 views

Does rsnapshot save binary diffs?

I use rsnapshot for some years under Kubunt/Linux. But I am not sure how it (and underlying rsync) handles binary diffs: Image a large Thunderbird mailbox file or a 10 MB jpg photo and I change the ...
user avatar
  • 101
0 votes
1 answer
168 views

Backup 2 remote servers at different time

I have 2 remote servers, which I backup from my backup server using rsnapshot. My config section for backup is something like this: backup root@example1.com:/var/db/dump/ example1.com/ backup root@...
user avatar
  • 135
2 votes
1 answer
3k views

Send me mail on rsnapshot fail

I am using rsnapshot for daily/weekly backups which are triggered by anacron, that works nice. However instead of checking the logs by hand, I would like to receive a mail whenever a backup failed. ...
user avatar
  • 163
4 votes
1 answer
3k views

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 * * * ...
user avatar
  • 2,272
6 votes
2 answers
2k views

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 ...
user avatar
  • 245
3 votes
1 answer
950 views

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 ...
user avatar
  • 245
2 votes
1 answer
1k views

passing additional parameters to rsync using rsnapshot

I have my backups being performed by rsnapshot, works well. EXCEPT, on one of the jobs for the /home volume I'd like rsync to copy the sym-links as physical directory/files. I believe the parameter ...
user avatar
  • 195
1 vote
1 answer
3k views

How to compress files before Rsnapshot remote backup start? [closed]

I have some remote servers and one backup server, I'm using Rsnapshot to do the remote backup on the backup server. In my plan, I want to run shell script to compress files first, then Rsnapshot can ...
user avatar
  • 132
1 vote
1 answer
2k views

How to tar Rsnapshot backup files automatically?

I am using Rsnapshot to backup my server files to a remote server. To minimize the file size, I want to tar the backup files, but I don't know how to do it with Rsnapshot. Can anyone help me with ...
user avatar
  • 132
0 votes
1 answer
1k views

special permissions set to deny on new subfolders of a folder I own with Full Control

I have rsnapshot 1.3.1 installed under cygwin64 (setup 2.870, dll 1.7.35) on win2012r2, all the latest as of today. I configured it to take a single file, current.7z, and make a rotating backup of it....
user avatar
  • 964
2 votes
1 answer
680 views

rsnapshot Freezes when Backing up to NFS Mount

I've got a Server running Ubuntu Server 14.04 server that has been doing periodic back-ups to an NFS mounted NAS using rsnapshot for several months now without issue. Last week we added a few more ...
user avatar
  • 119
2 votes
0 answers
167 views

Rsnaphost "works" when tested but not when run

I have set up rsnapshot successfully a couple of times, and maybe because everything was rather painless (except for the vi tab fiasco of 2013) I am now out of ideas. I have a cifs mounted remote ...
user avatar
  • 21
6 votes
1 answer
2k views

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 ...
user avatar
1 vote
1 answer
946 views

Can nginx test for a hard links or symlinks and redirect the browser client to the _real_ URL?

Imagine nginx is serving a folder of static images created by rsnapshot: /rsnapshots/hourly.0/imageA.png /rsnapshots/hourly.0/imageB.png So if I go here: http://example.com/hourly.0/imageA.png, I see ...
user avatar
  • 113
3 votes
5 answers
1k views

Why is rsnapshot claiming source directory doesn't exist?

I'm trying to set up a backup system using rsnapshot which will copy files from a remote location into a local one. I've got rsnapshot set up, as far as I can see correctly, but when I run rsnapshot ...
user avatar
3 votes
1 answer
3k views

Unable to use rsnapshot to sync non-owned files but able to do it with plain rsync command

I am trying to use rsnapshot to sync remote file to my own computer. However, I have some trouble when I need to access files which are not owned by user who is SSH-ing to the remote machine. My /etc/...
user avatar
  • 463
5 votes
2 answers
1k views

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 ...
user avatar
  • 379
1 vote
1 answer
385 views

Syncing rsnapshot backup drives

I have a pair of USB drives I use for backing up to via rsnapshot. One drive is left plugged in and the other is taken off site. For the first swap, I ran "rsync -aH" to copy all the contents from ...
user avatar
0 votes
0 answers
6k views

What is the best way to backup and restore a CentOS 7 server, using rsnapshot?

I recently made a backup of a CentOS 7 server using rsnapshot - version 1.3.1 and rsync -version 3.0.9 I made a few changes to the rsnapshot.conf file, which are listed below. I uncommented the ...
user avatar
  • 381
6 votes
2 answers
3k views

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 ...
user avatar
4 votes
1 answer
1k views

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)?
user avatar
  • 1,173
8 votes
2 answers
2k views

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, ...
user avatar
  • 353