LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-07-2016, 12:42 PM   #1
NoRearView
LQ Newbie
 
Registered: Dec 2015
Posts: 13

Rep: Reputation: Disabled
Rsnapshot issue


I hope this is the right place for this question, but 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 root@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 the 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. The ownership of the directories look like they match, as well. Am I missing something somewhere?
 
Old 03-07-2016, 01:29 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
Did you verify the /home you're expecting to backup actually has contents?

Is the /home you're expecting to backup or any of its subdirectories nfs mounts. If so are the latter mounted via automount instead of fstab? It may be you're excluding nfs if they're in fstab OR it may be they're simply not mounted at the time you run the backup if they're in automount. (i.e. automount would automatically unmount any directory under its control if not in use.)
 
Old 03-07-2016, 03:04 PM   #3
NoRearView
LQ Newbie
 
Registered: Dec 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MensaWater View Post
Did you verify the /home you're expecting to backup actually has contents?

Is the /home you're expecting to backup or any of its subdirectories nfs mounts. If so are the latter mounted via automount instead of fstab? It may be you're excluding nfs if they're in fstab OR it may be they're simply not mounted at the time you run the backup if they're in automount. (i.e. automount would automatically unmount any directory under its control if not in use.)
Thank you for the reply.

Yes, I did verify that there is content in the directory. I was actually attempting to restore a file which is when I found the problem. The directory is not mounted and is located on the same drive as the OS.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsnapshot with crashplan issue pstanbra Linux - Server 0 09-05-2012 04:05 AM
rsnapshot and ntfs mattydee Linux - Server 5 12-24-2010 05:35 AM
Backup VM using rsnapshot cccc Linux - Virtualization and Cloud 3 02-05-2010 09:35 AM
Rsnapshot du automation steven19782007 Linux - Newbie 2 06-11-2009 02:42 AM
rsync and rsnapshot madman100 Linux - Newbie 4 10-10-2006 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration