Discussion:
[rsnapshot-discuss] Rsnapshot backup missing directories
NoRearView
2016-03-11 17:17:43 UTC
Permalink
I am having an issue running rsnapshot for one of our servers.

The set up is rsnapshot runs on a central server and runs with the command:backup ***@IP address:/ servername/ exclude_file=/path/to/exclusion/file. A rsnapshot sync runs at night followed by an rsnapshot daily which runs every morning. The backups run successfully and are stored on a NAS in our data center.

The issue I am having is that I have a server that is missing the contents of the /home folder. I have two very similar servers with the same exclusion file. The backups work for both of them but one of them is not backing up anything in the /home directory.

Any ideas on what may be causing this? I checked the rsnapshot log and the only thing it says is that the backup completed with some warnings. I changed the rsnapshot.conf to verbose logging and it did say that some of the files did not transfer completely. It also had the same message for the working server so I can't say that is helpful.

The ownership of the directories look like they match, as well. Am I missing something somewhere?

+----------------------------------------------------------------------
|This was sent by ***@healthcall.com via Backup Central.
|Forward SPAM to ***@backupcentral.com.
+----------------------------------------------------------------------
Scott Hess
2016-03-11 19:06:39 UTC
Permalink
On Fri, Mar 11, 2016 at 9:17 AM, NoRearView <
Post by NoRearView
The issue I am having is that I have a server that is missing the contents
of the /home folder. I have two very similar servers with the same
exclusion file. The backups work for both of them but one of them is not
backing up anything in the /home directory.
Is /home a mount point for a filesystem on one server, but part of the root
filesystem on the other?

-scott
NoRearView
2016-03-11 19:39:03 UTC
Permalink
On Fri, Mar 11, 2016 at 9:17 AM, NoRearView <rsnaphshot-forum < at > backupcentral.com (rsnaphshot-forum < at > backupcentral.com)> wrote:
The issue I am having is that I have a server that is missing the contents of the /home folder. I have two very similar servers with the same exclusion file. The backups work for both of them but one of them is not backing up anything in the /home directory.


Is /home a mount point for a filesystem on one server, but part of the root filesystem on the other?


-scott
Â

Scott,

Thanks for the reply. I was planning on saying that it wasn't a mounted drive because I checked it already. But luckily, I checked it again.

I got the following output from the mount command:
dev/mapper/vg_ivrh2-lv_home on /home type ext4 (rw)

I've only been working with Linux for a few months and am new to rsnapshot. Is there a way I can get this directory backed up?

Thanks again!

+----------------------------------------------------------------------
|This was sent by ***@healthcall.com via Backup Central.
|Forward SPAM to ***@backupcentral.com.
+----------------------------------------------------------------------
Scott Hess
2016-03-11 19:56:41 UTC
Permalink
My guess is that you have one_fs=1. I use this locally to prevent
accidentally backing up temporarily-mounted removable filesystems.
Generally, I list each filesystem I want, like:
backup host:/./ host/
backup host:/boot/ host/

The default rsync_long_args contains --relative, so this results in
host/boot containing the expected stuff. Then for a couple servers where
I'm positive there won't be such mounts (or I've excluded the relevant
directories), I do something like:

backup host:/./ host/ one_fs=0

-scott


On Fri, Mar 11, 2016 at 11:39 AM, NoRearView <
Post by NoRearView
On Fri, Mar 11, 2016 at 9:17 AM, NoRearView <rsnaphshot-forum < at >
The issue I am having is that I have a server that is missing the contents
of the /home folder. I have two very similar servers with the same
exclusion file. The backups work for both of them but one of them is not
backing up anything in the /home directory.
Is /home a mount point for a filesystem on one server, but part of the
root filesystem on the other?
-scott
Â
Scott,
Thanks for the reply. I was planning on saying that it wasn't a mounted
drive because I checked it already. But luckily, I checked it again.
dev/mapper/vg_ivrh2-lv_home on /home type ext4 (rw)
I've only been working with Linux for a few months and am new to
rsnapshot. Is there a way I can get this directory backed up?
Thanks again!
+----------------------------------------------------------------------
+----------------------------------------------------------------------
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
rsnapshot-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Loading...