BackupPC-users

Re: [BackupPC-users] Unable to change the storage place

2017-02-08 18:28:54
Subject: Re: [BackupPC-users] Unable to change the storage place
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 8 Feb 2017 17:28:21 -0600
On Wed, Feb 8, 2017 at 4:26 PM, Edith Cloutier
<edith.cloutier AT mediom DOT com> wrote:
> fév 06 07:57:34 edithbureau backuppc[17175]: 2017-02-06 07:57:34 Can't
> create a test hardlink between a file in /var/lib/backuppc/pc and
> /var/lib/backuppc/cpool.  Either these are different file syste

Something wrong with permissions...

> I used this method :
>
> sudo service backuppc stop
> sudo mkdir /media/edith/Disque640Go/backuppc/
> sudo rsync -va /var/lib/backuppc /media/edith/Disque640Go/

  This should have been -vaH to preserve hardlinks.   And it may take
a long time.

> sudo mv /var/lib/backuppc /var/lib/backuppc_origine
> sudo ln -s /media/edith/Disque640Go/backuppc /var/lib/backuppc
> sudo chown -h backuppc:backuppc /var/lib/backuppc

  This should have been chown -r  to recurse down the tree.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/