In addition to the comments from the others note
- Using fstab for bind mounting works just as well or better in some
cases than symlinks
- You can set things up completely plain-vanilla, test and then move
the folders after.
- USB isn't really that great a connection for daily mission-critical
disk usage
- I recommend e-Sata if it needs to be external
- or even better, internal "hot swap" drive bays that let you swap the
drives out
On Mon, Feb 13, 2012 at 5:04 PM, Ingo P. Korndoerfer <[email protected]
> wrote:
> hello,
>
> i have been going around in circles and pretty much grazed all i could
> find on google and then finally found a way to
> get this to work, and though it might be worth communicating this, so it
> can maybe get included in the wiki ?
>
> i have succesfully installed backuppc under ubuntu and can connect and all
> is fine.
>
> except, i want my backups on a usb mounted external disk and then could
> not start the backuppc server anymore
> here is what i did:
>
> i followed the instructures here:
>
>
> http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Change_archive_directory#Changing_the_storage_location_of_the_BackupPC_pool
>
> i.e.
>
> sudo /etc/init.d/backuppc stop
>
> cp -dpR /var/lib/backuppc/. /mnt/backups1/backuppc
> mv /var/lib/backuppc /var/lib/backuppc.orig
> ln -s /mnt/backups1/backuppc /var/lib/backuppc
>
> sudo /etc/init.d/backuppc start
>
> and get the famous "can not create test hardlink" error.
>
> the solution after a lot of trying was to
>
> cd /mnt/backups1
> sudo su
> chmod -R ugo+rwx backupppc
>
> and then finally
>
> sudo /etc/init.d/backuppc start
>
> would work.
>
> i am still lacking a grasp of what the real problem was and what would
> have been the proper way to go about this.
> the permissions of the original installation and the copied installation
> (which i am using now via soft link) look like this:
>
> original install in /var/lib:
>
> drwxr-x--- 7 backuppc backuppc 4096 Feb 13 09:37 .
> drwxr-xr-x 63 root root 4096 Feb 13 10:23 ..
> drwxr-x--- 2 backuppc backuppc 4096 Feb 13 10:10 cpool
> drwxr-x--- 2 backuppc backuppc 4096 Feb 13 10:13 log
> drwxr-x--- 3 backuppc backuppc 4096 Feb 13 10:10 pc
> drwxr-x--- 2 backuppc backuppc 4096 Jun 30 2011 pool
> drwxr-x--- 2 backuppc backuppc 4096 Jun 30 2011 trash
>
> after copy to external disk (could not start backuppc server with this,
> but why. the permissions are all the same):
>
> drwxr-x--- 7 backuppc backuppc 4096 Feb 13 09:37 .
> drwxrwxrwx 5 ingo ingo 4096 Feb 13 10:59 ..
> drwxr-x--- 2 backuppc backuppc 4096 Feb 13 10:10 cpool
> drwxr-x--- 2 backuppc backuppc 4096 Feb 13 10:13 log
> drwxr-x--- 3 backuppc backuppc 4096 Feb 13 10:10 pc
> drwxr-x--- 2 backuppc backuppc 4096 Jun 30 2011 pool
> drwxr-x--- 2 backuppc backuppc 4096 Jun 30 2011 trash
>
> after chmod (now working)
>
> drwxrwxrwx 7 backuppc backuppc 4096 Feb 13 09:37 .
> drwxrwxrwx 4 ingo ingo 4096 Feb 13 09:44 ..
> drwxrwxrwx 2 backuppc backuppc 4096 Feb 13 10:54 cpool
> drwxrwxrwx 2 backuppc backuppc 4096 Feb 13 10:54 log
> drwxrwxrwx 3 backuppc backuppc 4096 Feb 13 10:54 pc
> drwxrwxrwx 2 backuppc backuppc 4096 Jun 30 2011 pool
> drwxrwxrwx 2 backuppc backuppc 4096 Jun 30 2011 trash
>
> is it the parent directory permissions that are messing the thing up ?
>
> thanks for any comments
>
> cheers
>
> ingo
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/