SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Copy host backups from one BackupPC server to another
Author Message
Post Copy host backups from one BackupPC server to another 
Hello,

what's the prefered way to copy/move backups of one or more hosts from
one BackupPC instance to another?

I searched the BackupPC docs and google, but didn't find a working
solution so far. It seems like BackupPC_tarPCCoppy could be useful. I
tried to create a tar archive with all the hard links using
'/usr/share/backuppc/bin/BackupPC_tarPCCopy /backup/pc/<HOST> >
/backup/<HOST>.tar'. Then I copied the tar archive to the new server,
changed into '/backup/pc' and executed 'cat /backup/<HOST>.tar | tar
xvPf -'. Unfortunately, this didn't work. Instead it produced thousands
of error messages like the following:

tar:
./<HOST>/0/f%2f/fusr/fshare/fdoc/ftelnet/fcopyright_117915470727842:
Cannot hard link to
`/var/lib..pc/cpool/7/f/6/7f6421e9a287696d216393515ed704a9': No such
file or directory

Regards,
jonas



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Copy host backups from one BackupPC server to another 
On 30/07/12 09:43, Jonas Meurer wrote:
Hello,

what's the prefered way to copy/move backups of one or more hosts from
one BackupPC instance to another?

Normal solutions are:

1. Copy the raw disks from the old server to the new server (eg via dd
and ssh or netcat)

2. Leave the old server running and setup a new one, allow the new one
to populate and retire the old server when the archives are no longer needed

--
Tim Fletcher <tim < at > night-shade.org.uk>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Copy host backups from one BackupPC server to another 
Hello,

Am 30.07.2012 10:55, schrieb Tim Fletcher:
On 30/07/12 09:43, Jonas Meurer wrote:
what's the prefered way to copy/move backups of one or more hosts
from
one BackupPC instance to another?

Normal solutions are:

1. Copy the raw disks from the old server to the new server (eg via
dd and ssh or netcat)

2. Leave the old server running and setup a new one, allow the new
one to populate and retire the old server when the archives are no
longer needed

Unfortunately neither of both solutions work for me. I setup a new
backup-server which replaces the old one. For all active hosts, I did it
exactly as your second solution suggested. By now, the new backup-server
backupped more than one full backup cycle of all active hosts.

But my problem is with inactive hosts. I have some old hosts which
aren't available anymore, but for which I keep the last backups in the
system. I'd like to migrate these backups to the new backup server as
well, as the old one will be powered off in near future.

I cannot believe that it's impossible to move backups of hosts from one
BackupPC instance to another. And actually I believe that
BackupPC_tarPCCopy is the right tool to do so. But I don't get how to
use it.

Regards,
jonas


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Copy host backups from one BackupPC server to another 
I cannot believe that it's impossible to move backups of hosts from one
BackupPC instance to another. And actually I believe that
BackupPC_tarPCCopy is the right tool to do so. But I don't get how to
use it.


If you have enough RAM, you can rsync -H the directory in "pc" from one
machine to the other, but you lose all advantages of pooling with other
machines.


--
Looking for (employment|contract) work in the
Internet industry, preferrably working remotely.
Building / Supporting the net since 2400 baud was
the hot thing. Ask for a resume! ispbuilder < at > gmail.com


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Copy host backups from one BackupPC server to another 
If you had space somewhere and it is only a few old machines...it
wouldnt be too much trouble to just restore them someplace and then
let the new server back up the restored directories...that way you get
to keep the pooling advantages.
A.

On Mon, Jul 30, 2012 at 7:04 AM, Jonas Meurer <jonas < at > freesources.org> wrote:
Hello,

Am 30.07.2012 10:55, schrieb Tim Fletcher:
On 30/07/12 09:43, Jonas Meurer wrote:
what's the prefered way to copy/move backups of one or more hosts
from
one BackupPC instance to another?

Normal solutions are:

1. Copy the raw disks from the old server to the new server (eg via
dd and ssh or netcat)

2. Leave the old server running and setup a new one, allow the new
one to populate and retire the old server when the archives are no
longer needed

Unfortunately neither of both solutions work for me. I setup a new
backup-server which replaces the old one. For all active hosts, I did it
exactly as your second solution suggested. By now, the new backup-server
backupped more than one full backup cycle of all active hosts.

But my problem is with inactive hosts. I have some old hosts which
aren't available anymore, but for which I keep the last backups in the
system. I'd like to migrate these backups to the new backup server as
well, as the old one will be powered off in near future.

I cannot believe that it's impossible to move backups of hosts from one
BackupPC instance to another. And actually I believe that
BackupPC_tarPCCopy is the right tool to do so. But I don't get how to
use it.

Regards,
jonas


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



--
"The fun parts of life are mostly optional."

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Copy host backups from one BackupPC server to another 
On Mon, Jul 30, 2012 at 6:04 AM, Jonas Meurer <jonas < at > freesources.org> wrote:
But my problem is with inactive hosts. I have some old hosts which
aren't available anymore, but for which I keep the last backups in the
system. I'd like to migrate these backups to the new backup server as
well, as the old one will be powered off in near future.

If you don't expect to restore, but just want a copy for safekeeping,
use the archive host feature or BackupPC_tarCreate to make a standard
tar archive that can be kept independently from backuppc. If you
want the data to be pooled with other backups, at this point the best
you can do is restore (perhaps one at a time) to somewhere with
sufficient disk space, then let the other server back it up.

I cannot believe that it's impossible to move backups of hosts from one
BackupPC instance to another. And actually I believe that
BackupPC_tarPCCopy is the right tool to do so. But I don't get how to
use it.

The usual approach is to image-copy the partition or drive holding the
data, then optionally resize the filesystem on the new server.
BackupPC_tarPCCopy expects the pool/cpool directory to be copied first
with rsync and exactly in sync first (and should be documented as
such. You can't do that after making other backups on the new
server. You can simply 'rsync -aH ' the host directories under pc to
the corresponding new location and everything will work. However,
those files will not be pooled with other hosts.

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB