Questions tagged [rsnapshot]

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

Filter by
Sorted by
Tagged with
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 ...
0 votes
0 answers
17 views

rsnapshot du shows huge difference in size between two backups, rsnapshot-diff says nothing changed between them

I'm on Debian 12. My backup drive filled up so I'm trying to figure out what is using so much space. Somehow the most recent backup is not hourly.0, it's hourly.20 and from a few days ago ("...
3 votes
2 answers
2k 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 ...
7 votes
4 answers
6k views

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 like: ./servers ./servers/daily.0 ./servers/daily.0/file1 ./...
14 votes
4 answers
17k views

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 ...
1 vote
2 answers
1k 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 ...
0 votes
1 answer
224 views

rsync cannot write files to folders it created

As the title says, Rsync is not able to copy files to the folders that Rsync itself created seconds before. I thought it could be a problem with curlftpfs, which is what mounts the ftp folder. I ...
4 votes
1 answer
640 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 ...
0 votes
0 answers
130 views

How to rsnapshot keep mirror backup and 'retain' directories have only deleted and changed files

I'm triyng/testing rsnapshot in my Ubuntu desktop to make incremental backups from a remote server to my desktop. I use a custom config file where I set retain alpha 7 I executed rsnapshot -V -c /path-...
0 votes
1 answer
54 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 ...
0 votes
1 answer
193 views

rsync: updated files to new folder

rsync allows to copy/synchronize folders without transferring files that already have been synchronized before and that did not change since last run. For that, you typically have to specify the ...
1 vote
3 answers
414 views

incremental archive backup similar to rsnapshot

I am looking for a similar tool like rsnapshot, capable of doing incremental backups and easy viewing of different backup versions (=easy unpacking of all increments of a specific backup or viewing of ...
0 votes
1 answer
237 views

Does daily rsync OS backup push SSD drives to its limits?

Since past year I'm using Rsnapshot (which uses rsync) to do my daily laptop Linux Ubuntu OS backup to a local NAS. Some months ago I started having serious problems with the OS stability. It seems ...
3 votes
2 answers
2k 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 ...
1 vote
1 answer
24 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/...
4 votes
1 answer
3k views

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 ...
44 votes
1 answer
55k views

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 ...
19 votes
4 answers
28k views

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 ...
5 votes
2 answers
1k views

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 ...
2 votes
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 ...
1 vote
1 answer
931 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 ...
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....
1 vote
1 answer
290 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 ...
1 vote
1 answer
593 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 * *...
1 vote
1 answer
576 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 ...
1 vote
0 answers
926 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 ...
2 votes
0 answers
4k views

rsnapshot frequently ext3-fs error: "ext3_lookup: deleted inode referenced:"

I frequently have the following problem on our backup server. I'll try to explain the issue in the hope somebody could clarify why and how to fix it. Setup details We have a Dell R200 server attached ...
3 votes
3 answers
6k views

How to modify ssh_args in rsnapshot config?

I have a global rsnapshot config file for all machines that we backup. The global file has ssh_args -p 123 The machine specific files include the global config file and tries to override the port: ...
1 vote
0 answers
58 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 ...
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 ...
3 votes
1 answer
875 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 ...
9 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, ...
1 vote
1 answer
891 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 ...
0 votes
1 answer
650 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 ...
1 vote
1 answer
141 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 ...
0 votes
1 answer
863 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/...
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/...
6 votes
6 answers
5k views

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 [email protected] "sh /home/user/backup_mysql.sh" ...
1 vote
1 answer
228 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: ...
1 vote
0 answers
427 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 ...
7 votes
1 answer
2k views

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/...
0 votes
2 answers
516 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 ...
22 votes
8 answers
22k views

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 ...
1 vote
0 answers
131 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 ...
1 vote
1 answer
943 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....
0 votes
1 answer
949 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 ...
3 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?
0 votes
0 answers
571 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 ...
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 ...
0 votes
1 answer
1k views

monitor rsnapshot's log file with logwatch [closed]

How does one go about including rsnapshot's log file in logwatch's configuration? Logwatch is software that will parse logs and check for important information and email it to someone. How can one ...