Welcome! » Log In » Create A New Profile

Duplicate mount points when logged out

Posted by Anonymous 
Duplicate mount points when logged out
June 08, 2015 02:00PM
I've been running rsnapshot on a Mac, backing up an ownCloud server for a couple of weeks and it has been working great. The Mac has been left logged in whilst I have been checking all is working fine. However when I logged out and left it running for a couple of days, I noticed that the external HD I was backing up to have been mounted as "Volumesbackup 1" instead of "Volumesbackup" as such the snapshots had not been copied to the external drive. This might not be an rsnapshot problem as such, but has anyone come across this before or can anyone help me correct this error.

Thanks
Keith.
------------------------------------------------------------------------------
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Duplicate mount points when logged out
June 08, 2015 02:39PM
Hi Keith,

[quote]On June 8, 2015 at 10:59 PM Keith Ellis <keith.ellis < at > mac.com> wrote:

I've been running rsnapshot on a Mac, backing up an ownCloud server for
a couple of weeks and it has been working great. The Mac has been left
logged in whilst I have been checking all is working fine. However when
I logged out and left it running for a couple of days, I noticed that
the external HD I was backing up to have been mounted as
"Volumesbackup 1" instead of "Volumesbackup" as such the snapshots
had not been copied to the external drive. This might not be an
rsnapshot problem as such, but has anyone come across this before or can
anyone help me correct this error.
[/quote]
I had almost the same behavor a few days ago on a Linux machine. I assume
now Mac behaves (almost) the same.

For unspecified reasons there had been a folder existing on the harddrive
before the external hdd got mounted. So the automounter just mounted it
unter "/media/backup 1" (on Mac Volumesbackup 1). I just removed the
/media/backup folder and remounted the external hdd. Of course, before
doing this, you should check, that you don't delete any data.

Anyway, adding no_create_root option into your config-file is always a
good idea.

sincerely,
Benedikt

------------------------------------------------------------------------------
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Duplicate mount points when logged out
June 14, 2015 12:40PM
[quote]On 8 Jun 2015, at 22:38, Benedikt Heine <benedikt < at > heine.rocks ([email]benedikt < at > heine.rocks[/email])> wrote:
I had almost the same behavor a few days ago on a Linux machine. I assumenow Mac behaves (almost) the same.For unspecified reasons there had been a folder existing on the harddrivebefore the external hdd got mounted. So the automounter just mounted itunter "/media/backup 1" (on Mac Volumesbackup 1). I just removed the/media/backup folder and remounted the external hdd. Of course, beforedoing this, you should check, that you don't delete any data.Anyway, adding no_create_root option into your config-file is always agood idea.
[/quote]
It turns out on a Mac when a user is not logged in all external drives are unmounted.

Adding ‘no_create_root’ stops spurious directories from being created but is does not help with having backups execute when not logged in. I have found the answer though.

If you type the following into terminal all drives will be mounted when not logged in and snapshot will work correctly.

sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true

Thanks for everyones help.

Keith.
Sorry, only registered users may post in this forum.

Click here to login