Questions tagged [rsnapshot]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 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 ("...
John Smith's user avatar
0 votes
1 answer
209 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 ...
ICIM's user avatar
  • 162
0 votes
0 answers
129 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-...
Daniel Franco's user avatar
0 votes
1 answer
230 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 ...
Danijel's user avatar
  • 256
0 votes
1 answer
187 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 ...
user236012's user avatar
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/...
rubo77's user avatar
  • 2,519
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 ...
StevieD's user avatar
  • 552
1 vote
1 answer
917 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 ...
Sushan Kunwar's user avatar
1 vote
1 answer
587 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 * *...
Kit Johnson's user avatar
1 vote
1 answer
568 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 ...
rvdb's user avatar
  • 329
1 vote
0 answers
916 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 ...
Pol Hallen's user avatar
  • 1,113
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 ...
boardrider's user avatar
3 votes
1 answer
867 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 ...
Sébastien Beausoleil's user avatar
1 vote
1 answer
885 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 ...
Herold Gray's user avatar
0 votes
1 answer
644 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 ...
manish sawant's user avatar
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 ...
Dark Corner's user avatar
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 ...
andrew512's user avatar
1 vote
1 answer
138 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 ...
rubo77's user avatar
  • 2,519
0 votes
1 answer
861 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/...
Philippe Gachoud's user avatar
1 vote
1 answer
226 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: ...
Dirk Eschler's user avatar
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 ...
Op4's 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 ...
Josh's user avatar
  • 21
1 vote
0 answers
425 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 ...
Debianuser's user avatar
0 votes
2 answers
514 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 ...
mr.frog's user avatar
  • 129
1 vote
1 answer
933 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....
ticktockhouse's user avatar
0 votes
1 answer
946 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 ...
eng3's user avatar
  • 177
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 ...
Sniffleh's user avatar
  • 181
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 ...
mmalmeida's user avatar
  • 155
2 votes
0 answers
920 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, ...
Landak's user avatar
  • 121
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?
rubo77's user avatar
  • 2,519
9 votes
1 answer
4k 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 ...
Andrew Grothe's user avatar
1 vote
0 answers
327 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 ...
Arni J's user avatar
  • 75
4 votes
1 answer
634 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 ...
sam's user avatar
  • 41
0 votes
1 answer
184 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 ...
tardis's user avatar
  • 101
0 votes
1 answer
179 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 [email protected]:/var/db/dump/ example1.com/ backup root@...
freento's 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. ...
Alex's 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 * * * ...
rubo77's user avatar
  • 2,519
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 ...
BayerSe's user avatar
  • 245
3 votes
1 answer
1k 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 ...
BayerSe's user avatar
  • 245
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 ...
Wranorn's user avatar
  • 205
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 ...
technoob's user avatar
  • 142
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 ...
technoob's user avatar
  • 142
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....
Kev's user avatar
  • 984
2 votes
1 answer
722 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 ...
KevinC's user avatar
  • 119
2 votes
0 answers
203 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 ...
horacv's user avatar
  • 21
6 votes
1 answer
3k 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 ...
David Rahrer's user avatar
1 vote
1 answer
1k 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 ...
Taytay's 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 ...
David Morning's 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/...
errata's user avatar
  • 563
5 votes
2 answers
2k 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 ...
D.Mill's user avatar
  • 379