Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [rsnapshot]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
43 views

Is it possible to create multiple users on Linux with the same UID and GID, especially UID and GID 0?

The ArchWiki - rsnapshot page mentions creating multiple users with uid and gid set to 0 as a means of creating users that login remotely to perform backups. One thing you can do to mitigate the ...
vfclists's user avatar
  • 7,551
2 votes
1 answer
36 views

rsync running under rsnapshot is not creating hard links, why?

I have rsnapshot taking backups for me. However, each backup is the full size of the source data. It is not making hard links and instead is making new copies of ever single (unchanged) file on every ...
Dansk's user avatar
  • 31
0 votes
1 answer
39 views

Proper way to set up rsnapshot over ssh on multiple machines

I am using the answer in this post to part of my question: Proper way to set up rsnapshot over ssh However, this post is seven years old and also I have an additional question. I have the same ...
bpb's user avatar
  • 1
0 votes
0 answers
24 views

rdfind-like tool to sparsify rsync operations

I use rsnapshot to take regular, automated snapshots of the home directory on my desktop (which runs Ubuntu on sda) and save them to a spare internal harddrive (sdb). Occasionally, I manually copy (...
Max's user avatar
  • 101
0 votes
0 answers
50 views

rsnapshot backup fails with cryptomator mounted volume

I have rsnapshot (on macos) setup for my backups and in the config file one of the locations I am trying to back up is a Volume mounted by Cryptomator. Relevant line in config file: backup /Users/...
christopher.online's user avatar
2 votes
0 answers
60 views

Speeding up rsnapshot backups to btrfs?

I'm using rsnapshot to back up the computers on my home network. For years, I've been using Ext4-on-LUKS on USB hard disks and getting good results. Recently I added a Btrfs-on-LUKS disk to get the ...
Mark's user avatar
  • 4,284
0 votes
2 answers
145 views

Are Rsnapshot backups self contained - how to save into zip?

I have some old backups done by rsnapshot. The directories are: /backups/week.0 /backups/week.1 /backups/week.2 /backups/week.3 /backups/week.4 I'd like to keep only one copy and delete the others. ...
Danijel's user avatar
  • 188
2 votes
0 answers
49 views

Is it possible to rsnapshot localsource to remotetarget?

Since rsnapshot is based on rsync I wanted to try to use rsnapshot on my client server to backup to a remote server. The Problem is I am unable to find proper informations to set this up. I now how to ...
MaKaNu's user avatar
  • 131
1 vote
1 answer
434 views

Permission errors backing up entire system using rsnapshot over local server

EDIT: the solution to this problem is the marked solution underneath + enabling PermitRootLogin without-password in /etc/ssh/sshd_config I'm trying to backup my entire system to my local server, but ...
Gisbi's user avatar
  • 23
0 votes
1 answer
562 views

rsnapshot.conf - reducing verbose parameter not having the desired effect?

TL;DR Is there some configuration for rsnapshot (see versions below) that would allow me to restrict output to the shell commands, errors and start/finish notifications generated by rsnapshot itself, ...
BISI's user avatar
  • 136
0 votes
1 answer
1k views

bash script help to check nfs mount exists [rsnapshot]

I have two linux servers; server two is a backup to server one where server two is NFS mounted to server one. I use rsnapshot on server one to copy from /data/ to the nfs mounted folder /bkup from ...
ron's user avatar
  • 6,797
0 votes
2 answers
3k views

What are the advantages of using btrfs snapshots over rsnapshot in a backup scenario [closed]

Currently I use rsnapshot to backup data from one encrypted ext4 drive to another. My system opens a LUKS container on each drive and runs rsnapshot according to an hourly schedule. I'm intrigued by ...
qq4's user avatar
  • 519
1 vote
1 answer
312 views

Problems getting Rsnapshot to work, even just for a local backup

my goal is to backup a remote server. However, I first want to get just a local backup working, running on Ubuntu 20. For this, my /etc/rsnapshot.conf file is the following: config_version 1.2 ...
RsnapshotBeginner1's user avatar
3 votes
1 answer
910 views

Rsnapshot: folder ownership permissions to 'backups' group instead of root

I am using rsnapshot to make daily backups of a MYSQL database on a server. Everything works perfectly except the ownership of the directory is root:root. I would like it to be root:backups to enable ...
Kit Johnson's user avatar
1 vote
0 answers
124 views

rsnapshot running for long time after deleting a large number of file

We have been running a nightly backup on our Linux server for many years without issue. However, since deleting a large number of files (8gb worth) from one of the folders being backed up the backup ...
Cookie's user avatar
  • 11
0 votes
1 answer
447 views

Exclude folders in rsnapshot containing docker except docker/volumes

I configured rsnapshot, to exclude all foders containing the string docker/ in its path in the file rsnapshot_exclude docker/* but now I want to include one particular folder: /var/lib/docker/...
rubo77's user avatar
  • 29.2k
2 votes
1 answer
56 views

Ensure all rsnapshot folders from all VMs in a Xen host are successfully backupped via rsync

On my Xen Host I first create an up-to-date snapshot of all VMs and then I use rsnapshot to backup all my important folders daily. Secondly I backup the same folders on an external server via rsync ...
rubo77's user avatar
  • 29.2k
2 votes
1 answer
233 views

Full paths with rsnapshot and rsync server at source side with --relative option are truncated - how to preserve full source paths?

When using rsnapshot with following configuration: #/etc/rsnapshot.conf snapshot_root /backup.rsnapshot/ rsync_long_args --relative backup user@laptop:/home/user/test/ ./ a directory /backup....
Igor Popov's user avatar
1 vote
0 answers
130 views

Rsnapshot log entries: "Number of hard links > 1"

I just noticed that my syslog is being spammed by rsnapshot, writing <host name> cron[1100]: (*system*rsnapshot) NUMBER OF HARD LINKS > 1 (/etc/cron.d/rsnapshot) every minute or two. It ...
Zarkov's user avatar
  • 61
0 votes
0 answers
216 views

Rsnapshot RW as root, RO for everyone else

I am using rsnapshot to store snapshots. I would like root to be able to write to it so rsnapshot can run. I can't change permissions because I want to preserve them so each user can still only ...
eng3's user avatar
  • 279
1 vote
1 answer
101 views

rsnapshot wrongly filter getting added

I have following lines in rsnapshot.conf snapshot_root /mnt/T4Backup2T/Incremental-Backup rsync_long_args --numeric-ids exclude_file /home/CD/CLPB/backup-files/rsnapshot/saraswathi.exclude ...
Kiran K Telukunta's user avatar
1 vote
0 answers
275 views

Rsnapshot made my external disk run out of space

I have Rsnapshot doing incremental backups from Client1 to Server1 (RAID 5) within folder "BACKUP". On Server 1, tonight, I copied the "BACKUP"to an external disk for the first time using the command ...
MiniTux's user avatar
  • 71
0 votes
1 answer
272 views

How to move physical disks content (rsnapshot content in there) to another physical disk?

Situation: simple linux system, with external removable usb media (rdx), single primary partition with ext4 filesystem on them for backups. Using some external usb disk media (rdx disks) for ...
amacnewbie's user avatar
0 votes
1 answer
435 views

automatically repair rsnapshot config: replace spaces with tabs

rsnapshot is quite picky in its config: the commands have to be separated by TABs and not spaces. if you use rsnapshot configtest you see the errors, but how can I automatically repair the errors ...
rubo77's user avatar
  • 29.2k
1 vote
1 answer
1k views

rsnapshot very slow

For backing up data in my office I use a Raspberry Pi model B (I had a spare one) running rsnapshot. Basically, every night it copies data from a bunch of smb mounted folders to a couple of external ...
pecheronza's user avatar
2 votes
1 answer
648 views

rsnapshot is not doing incremental backup

I recently installed rsnapshot and trying to get it to do incremental backups. Now, I run first "rsnapshot alpha" and it creates alpha.0. Folder is 8GB Then I add a 1 GB video file to the source ...
MiniTux's user avatar
  • 71
1 vote
1 answer
3k views

Getting Rsnapshot permissions right

I've used rsync for years to keep a backup copy of my /home/User1 (Client1) on my Server1 (in a folder /mnt/Server1/Backup). These are not production machines. This folder is mounted on Client1 with ...
MiniTux's user avatar
  • 71
3 votes
0 answers
460 views

rsnapshot without using rm/cp to rotate hourly intervals

Rsnapshot is a great tool, and I've been using it for years. I have discovered that my backups now take a very long time: 80 minutes. And I repeat that every 4 hours. After looking in the log, most ...
RaveTheTadpole's user avatar
2 votes
1 answer
2k views

Questions about Rsnapshot - user permissions, deletion and hardlinks

Does Rsnapshot need root permissions on remote server side? I'm using a common user. backup commonuser@remoteserver:/directory directory/ I'd like to backup some folders like /home, /opt, /etc ...
Asdra's user avatar
  • 23
2 votes
1 answer
2k views

how to efficiently encrypt backup via gpg

I have the following problem. I'm currently need to store my backup on a cloud solution like dropbox since my local nas is broken. That's why I have to encrypt my backup. I'm using rsnapshot to ...
math's user avatar
  • 69
1 vote
1 answer
908 views

Unable to explore sub-directory in Samba share with Linux ACLs

The basic problems is that I have a Domain Connected QNAP and want to publish the RSnapshot snapshots via Samba so users can recover their own files from backups. (As per the original RSnapshot HowTo: ...
Vinnie's user avatar
  • 111
1 vote
1 answer
3k views

How to restore file from rsnapshot backup with correct permissions

I have installed a fresh version of Debian. I would like to restore some files in home with my backuped version as well as some under etc. The backup was created with rsnapshot. The point which is ...
math's user avatar
  • 69
1 vote
1 answer
813 views

rsnapshot a remote server - best practice for permissions

I am trying to setup ssh-key based login for a remote server to rsnapshot daily. The key I am using is a normal user key, but it obviously doesn't have root access, so when rsnapshot connects to the ...
J. Doe's user avatar
  • 13
2 votes
0 answers
813 views

cron rsnapshot - weekly before monthly how to

I'm trying to run rsnapshot per the doc specs, to avoid race conditions. basically the docs say to run the largest interval before the smaller one, about a half hour apart, and so forth. (not using ...
Brian Thomas's user avatar
1 vote
1 answer
7k views

How to exclude symbolic link in rsync/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 / ...
zar's user avatar
  • 245
2 votes
1 answer
108 views

Remote Syncing RSnapshots

I am in the process of setting up a (proper) backup system which is built upon my NAS and rsnapshot. I have the NAS which has two drives in case one dies which in itself is not a backup, but I am also ...
user1829564's user avatar
1 vote
1 answer
48 views

rsnapshot settings confusion

I'm trying to set remote backup for my website. in /etc/rsnapshot.conf, I've set the following things but its still not working. snapshot_root /abc_backups/ backup [email protected]:/var/www/abc.com/...
Ahmed Z.'s user avatar
  • 115
2 votes
1 answer
201 views

Rsnapshot multiuser

I have setup a server. In this server I have made several users and those people are logging in on a regular basis. I want to offer everyone to setup their own rsnapshot, so that they can take ...
john-jones's user avatar
  • 1,736
12 votes
3 answers
12k views

Specifying remote directories to be excluded from rsnapshot backup

I've looked around a bit without finding an exact answer to my question, which is how to specify a directory to be excluded from only the remote filesystem backup. Say I've got two machines: a ...
Tom Russell's user avatar
  • 1,081
7 votes
1 answer
10k views

Proper way to set up rsnapshot over ssh

I have two Debian 8 servers: Server A: at home, lots of storage Server B: vps at commercial host, running web and mail services Both are pet projects, not business stuff. Server B runs rsnapshot ...
Forkbeard's user avatar
  • 637
1 vote
2 answers
1k views

What the heck is going on with my cron scheduler? (rsnapshot)

CRONTABS I'm using rsnapshot with cron. Here's what sudo crontab -l shows me. 0 */4 * * * /usr/bin/rsnapshot hourly 30 3 * * * /usr/bin/rsnapshot daily 0 3 * * 1 ...
reas0n's user avatar
  • 221
2 votes
2 answers
2k views

Backup with rsnapshot only if there are changes

I use rsnapshot to make regular backups of my systems' filesystems to a remote server. (For those familiar with rsync but less used to rsnapshot here is a brief introduction to its workings. A backup ...
Chris Davies's user avatar
3 votes
1 answer
1k views

rsnapshot default root directory seems wrong

I'm running openSuse 13.2. In the config file, /etc/rsnapshot.conf.default, there is the following entry: snapshot_root /.snapshots/ rsnapshot has never been run. Yet in /.snapshots there are a ...
Tom Russell's user avatar
  • 1,081
1 vote
1 answer
109 views

alternative approach for selective deletes from rsnapshot tree with find?

I'm looking for a generalizable solution to this problem, 'cause I'm sure it will come up again. I have a client that does medical research. Periodically we have to remove the datasets provided by ...
BISI's user avatar
  • 136
1 vote
1 answer
298 views

Having trouble with rsnapshot via ssh (from debian laptop) of Nokia n900

** edit 8/6/15 * So the crux of my problem turned out not to be some quirkiness with the config file. In the end it turned out I simply had multiple ssh directories in 2 different places, and was ...
thelemur89's user avatar
1 vote
0 answers
319 views

Backup using rsnapshot not working

I have a server web based Linux and i want to make backup every hour using rsnapshot. this is my rsnapshot file configuration : config_version 1.2 snapshot_root /var/Majjane-Save/ cmd_cp /...
BAHADDOU Mohammed's user avatar
0 votes
1 answer
1k views

rsnapshot backup not working?

I installed rsnapshot and configured it to make backup every hour. But the issue is all backups that are made not working. Let me explain to you, I made 3 backups hourly.0, hourly.1 and hourly.2. ...
BAHADDOU Mohammed's user avatar
2 votes
0 answers
1k views

rsnapshot taking a long time to backup, are the scripts correct?

I am wondering if the backup system I am maintaining was incorrectly setup from the start which may explain why it is slow. Backup Objective: Carry out daily incremental backups from a NAS storage (...
Alexis's user avatar
  • 21
13 votes
2 answers
19k views

Meaning of Crossing filesystem boundaries, --one-file-system, etc

I'm planning to use rsnapshot to backup my whole Linux system, though I'm confused by -x option (same of one_fs in rsnapshot.conf). The man page says: -x one filesystem, don't cross partitions ...
Paolo's user avatar
  • 17.4k
11 votes
3 answers
10k views

Entries I can safely exclude doing backups

I'm planning a backup strategy based on rsnapshot. I want to do a full system backup excluding files and directories that would be useless for the restore to have a working system again. I already ...
Paolo's user avatar
  • 17.4k