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
0answers
12 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
1answer
43 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
1answer
34 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
1answer
81 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
0answers
197 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 ...
1
vote
0answers
24 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
1answer
260 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 ...
0
votes
1answer
332 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
1answer
146 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
1answer
296 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 ...
1
vote
1answer
783 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
1answer
50 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
1answer
497 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/...
1
vote
1answer
147 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
1answer
198 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 ...
2
votes
1answer
814 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 ...
1
vote
0answers
241 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 ...
0
votes
2answers
373 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 ...
1
vote
1answer
376 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
1answer
616 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 ...
1
vote
0answers
76 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 ...
0
votes
0answers
514 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 ...
2
votes
0answers
500 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, ...
2
votes
1answer
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?
7
votes
1answer
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 ...
1
vote
0answers
236 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 ...
4
votes
1answer
362 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
1answer
129 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 ...
0
votes
1answer
143 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@...
1
vote
1answer
2k 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. ...
3
votes
1answer
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 * * * ...
5
votes
2answers
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 ...
3
votes
1answer
788 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 ...
2
votes
1answer
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 ...
1
vote
1answer
2k 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
1answer
1k 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 ...
0
votes
1answer
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....
2
votes
1answer
597 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 ...
2
votes
0answers
138 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 ...
6
votes
1answer
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 ...
1
vote
1answer
840 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 ...
3
votes
5answers
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 ...
3
votes
1answer
2k 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/...
5
votes
2answers
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 ...
1
vote
1answer
322 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 ...
0
votes
0answers
5k 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 ...
5
votes
2answers
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 ...
4
votes
1answer
956 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)?
8
votes
2answers
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
3answers
5k views

Backing up rsnapshot directory with rsync copies entires backup directory

I have a main backup server running rsnapshot, with ~2TB of backups stored on it. After the nightly backups, I copy the contents of the rsnapshot directory to an offsite server, using rsync -aH --...