Re: [BackupPC-users] Migrating Hosts
Technically, there are tools to restore the hardlinks, e.g. do the deduplication on the file system. They are called fdupes and jdupes, one of them is rewritten modern implementation. TL;DR which one is the newer, I beileve F does. But obviously, this is relevant to bpc v3 Jan Dne 04.02.2019 v 16:37 Les Mikesell napsal(a): > On Mon, Feb 4, 2019 at 3:38 AM Arsalan Naeem wrote: >> Recently I experimented with host migration from one backuppc to another >> fresh install. I rsynced the hosts folder in /var/lib/BackupPC/pc/< Host > >> to a new instance. After adding the host via the web GUI. I could see all >> the incremental/full backup history. I was able to download archive and >> restore it to a server. I have done this many times with 100% success rate >> with other hosts. >> >> I wanted to know is this a safe method off migration and cold storage backup >> option, also how is this process working, I wasn't able to find anything in >> the wiki regarding migrations other then TarCopy. > With backuppc v3, copying a host directory works as far as having a > copy of the content goes but you lose the de-duplication of storage > for subsequent runs. The problem with it is that you lose the > hardlinks into the pool/cpool directory that next backup run needs to > be able to match files and make new hardlinks. So you'll get a 2nd > copy of each file in your archive until the copied backups expire and > are deleted. > ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Migrating Hosts
On Mon, Feb 4, 2019 at 3:38 AM Arsalan Naeem wrote: > > Recently I experimented with host migration from one backuppc to another > fresh install. I rsynced the hosts folder in /var/lib/BackupPC/pc/< Host > to > a new instance. After adding the host via the web GUI. I could see all the > incremental/full backup history. I was able to download archive and restore > it to a server. I have done this many times with 100% success rate with other > hosts. > > I wanted to know is this a safe method off migration and cold storage backup > option, also how is this process working, I wasn't able to find anything in > the wiki regarding migrations other then TarCopy. With backuppc v3, copying a host directory works as far as having a copy of the content goes but you lose the de-duplication of storage for subsequent runs. The problem with it is that you lose the hardlinks into the pool/cpool directory that next backup run needs to be able to match files and make new hardlinks. So you'll get a 2nd copy of each file in your archive until the copied backups expire and are deleted. -- Les Mikesell lesmikes...@gmail.com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Migrating Hosts
You don’t say whether you are using v3 or v4. Either way one also would need to copy the pool or cpool data. There is a rather lengthy thread devoted to making copies of backups that you might find useful. A search of the archive ought to provide results. Cheers, Mph > On Feb 4, 2019, at 1:37 AM, Arsalan Naeem wrote: > > Hello, > > Recently I experimented with host migration from one backuppc to another > fresh install. I rsynced the hosts folder in /var/lib/BackupPC/pc/< Host > to > a new instance. After adding the host via the web GUI. I could see all the > incremental/full backup history. I was able to download archive and restore > it to a server. I have done this many times with 100% success rate with other > hosts. > > I wanted to know is this a safe method off migration and cold storage backup > option, also how is this process working, I wasn't able to find anything in > the wiki regarding migrations other then TarCopy. > > > Thanks > Arsalan > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki:http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Migrating Hosts
Hello, Recently I experimented with host migration from one backuppc to another fresh install. I rsynced the hosts folder in /var/lib/BackupPC/pc/< Host > to a new instance. After adding the host via the web GUI. I could see all the incremental/full backup history. I was able to download archive and restore it to a server. I have done this many times with 100% success rate with other hosts. I wanted to know is this a safe method off migration and cold storage backup option, also how is this process working, I wasn't able to find anything in the wiki regarding migrations other then TarCopy. Thanks Arsalan ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/