SearchFAQMemberlist Log in
Reply to topic Page 1 of 2
Goto page 1, 2  Next
BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy
Author Message
Post BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
Hello,

I read a bug about this issue and was hoping someone here had a work around.

I have a BackupPC server running an older unsupported version of
Fedora. I have new server with more disk space and an up to date
operating system. The goal is to migrate all the information over to
the new server

DD is not an option because the device on the existing BackupPC server
contains more than just BackupPC data. It would take to long and I
can't unmount the disk without effecting users.

I tried running BackupPC_tarPCCopy but the "Argument
/var/lib/BackupPC/pc must be an absolute path starting with
/var/lib/BackupPC/" error is displayed.

Is my only option to start creating the new pool from scratch? Or, is
there another way to copy the hardlinks created by BackupPC to the new
server?

Thanks in advance

ad^2

------------------------------------------------------------------------------
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 BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
On 05/22 11:46 , ad^2 wrote:
I have a BackupPC server running an older unsupported version of
Fedora. I have new server with more disk space and an up to date
operating system. The goal is to migrate all the information over to
the new server

DD is not an option because the device on the existing BackupPC server
contains more than just BackupPC data. It would take to long and I
can't unmount the disk without effecting users.

I tried running BackupPC_tarPCCopy but the "Argument
/var/lib/BackupPC/pc must be an absolute path starting with
/var/lib/BackupPC/" error is displayed.

Is my only option to start creating the new pool from scratch? Or, is
there another way to copy the hardlinks created by BackupPC to the new
server?


I've used tar to capture all of /var/lib/backuppc (or whatever the path is
on your box) and pipe it to netcat to send it across the wire. This can take
a few days tho, during which your backup system is offline. If you need to
preserve historic data going back months or years tho, it may be the way to
go.

Otherwise, just building a new backup server, moving the config over to it,
and keeping the old one around until the data can be considered 'expired' is
the best option.

--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.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 BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
Hello,

From what I have read even though tar supports a hardlink option it
will not do the trick with BackupPC. Have you use tar to copy the
__TOPDIR__/pc directory?

Anyway, I went with the rebuild and let BackupPC recreate the pool
option. I copied the configuration files to retain all the previous
system's settings. It worked and it was fast to set up.

Thanks

On Tue, May 22, 2012 at 12:10 PM, Carl Wilhelm Soderstrom
<chrome < at > real-time.com> wrote:
On 05/22 11:46 , ad^2 wrote:
I have a BackupPC server running an older unsupported version of
Fedora. I have new server with more disk space and an up to date
operating system. The goal is to migrate all the information over to
the new server

DD is not an option because the device on the existing BackupPC server
contains more than just BackupPC data. It would take to long and I
can't unmount the disk without effecting users.

I tried running BackupPC_tarPCCopy but the "Argument
/var/lib/BackupPC/pc must be an absolute path starting with
/var/lib/BackupPC/" error is displayed.

Is my only option to start creating the new pool from scratch? Or, is
there another way to copy the hardlinks created by BackupPC to the new
server?


I've used tar to capture all of /var/lib/backuppc (or whatever the path is
on your box) and pipe it to netcat to send it across the wire. This can take
a few days tho, during which your backup system is offline. If you need to
preserve historic data going back months or years tho, it may be the way to
go.

Otherwise, just building a new backup server, moving the config over to it,
and keeping the old one around until the data can be considered 'expired' is
the best option.

--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.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/



--
ad^2

------------------------------------------------------------------------------
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 BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
Now that I have the system updated with the latest version I decided
to test the script on the same system. It still does not work and
produces the same error.

Argument "topdir/pc" must be an absolute path starting with "topdir"
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

Does anyone know if this script does work?

Thx

ad^2


On Tue, May 22, 2012 at 6:06 PM, ad^2 <adeezainya < at > gmail.com> wrote:
Hello,

From what I have read even though tar supports a hardlink option it
will not do the trick with BackupPC. Have you use tar to copy the
__TOPDIR__/pc directory?

Anyway, I went with the rebuild and let BackupPC recreate the pool
option. I copied the configuration files to retain all the previous
system's settings. It worked and it was fast to setup.

Thanks

On Tue, May 22, 2012 at 12:10 PM, Carl Wilhelm Soderstrom
<chrome < at > real-time.com> wrote:
On 05/22 11:46 , ad^2 wrote:
I have a BackupPC server running an older unsupported version of
Fedora. I have new server with more disk space and an up to date
operating system. The goal is to migrate all the information over to
the new server

DD is not an option because the device on the existing BackupPC server
contains more than just BackupPC data. It would take to long and I
can't unmount the disk without effecting users.

I tried running BackupPC_tarPCCopy but the "Argument
/var/lib/BackupPC/pc must be an absolute path starting with
/var/lib/BackupPC/" error is displayed.

Is my only option to start creating the new pool from scratch? Or, is
there another way to copy the hardlinks created by BackupPC to the new
server?


I've used tar to capture all of /var/lib/backuppc (or whatever the path is
on your box) and pipe it to netcat to send it across the wire. This can take
a few days tho, during which your backup system is offline. If you need to
preserve historic data going back months or years tho, it may be the way to
go.

Otherwise, just building a new backup server, moving the config over to it,
and keeping the old one around until the data can be considered 'expired' is
the best option.

--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.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/



--
ad^2

------------------------------------------------------------------------------
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 BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
On 2012-05-23 01:18, ad^2 wrote:
Anyway, I went with the rebuild and let BackupPC recreate the pool
option. I copied the configuration files to retain all the previous
system's settings. It worked and it was fast to set up.

What is this option? I assume it means "Copy the pc directory without hard
links, then rebuild the pool." What command rebuilds the pool in this way?

Tyler

--
"I disapprove of what you say, but I will defend to the death your right
to say it."
-- Evelyn Beatrice Hall

------------------------------------------------------------------------------
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 BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
This was the path I chose.

* Migrate the system configurations (/etc/BackupPC)
* Let the pool build on its own. Rebuilding (in this case creating a
new pool) the pool is done by the BackupPC process. Just let the
system run backups and do what it was intended for.

Thx


On Wed, May 23, 2012 at 4:45 AM, Tyler J. Wagner <tyler < at > tolaris.com> wrote:
On 2012-05-23 01:18, ad^2 wrote:
Anyway, I went with the rebuild and let BackupPC recreate the pool
option. I copied the configuration files to retain all the previous
system's settings. It worked and it was fast to set up.

What is this option? I assume it means "Copy the pc directory without hard
links, then rebuild the pool." What command rebuilds the pool in this way?

Tyler

--
"I disapprove of what you say, but I will defend to the death your right
to say it."
  -- Evelyn Beatrice Hall

------------------------------------------------------------------------------
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/



--
ad^2

------------------------------------------------------------------------------
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 BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
So you didn't keep your old backups. You just let it start making new ones.
Correct?

Regards,
Tyler

On 2012-05-23 15:28, ad^2 wrote:
This was the path I chose.

* Migrate the system configurations (/etc/BackupPC)
* Let the pool build on its own. Rebuilding (in this case creating a
new pool) the pool is done by the BackupPC process. Just let the
system run backups and do what it was intended for.

Thx


On Wed, May 23, 2012 at 4:45 AM, Tyler J. Wagner <tyler < at > tolaris.com> wrote:
On 2012-05-23 01:18, ad^2 wrote:
Anyway, I went with the rebuild and let BackupPC recreate the pool
option. I copied the configuration files to retain all the previous
system's settings. It worked and it was fast to set up.

What is this option? I assume it means "Copy the pc directory without hard
links, then rebuild the pool." What command rebuilds the pool in this way?

Tyler

--
"I disapprove of what you say, but I will defend to the death your right
to say it."
-- Evelyn Beatrice Hall

------------------------------------------------------------------------------
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/



--
ad^2

------------------------------------------------------------------------------
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/


--
"He who would travel happily must travel light."
-- Antoine de Saint-Exupery

------------------------------------------------------------------------------
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 BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
On Tue, May 22, 2012 at 8:21 PM, ad^2 <adsquaired < at > gmail.com ([email]adsquaired < at > gmail.com[/email])> wrote:
Now that I have the system updated with the latest version I decided
to test the script on the same system. It still does not work and
produces the same error.

Argument "topdir/pc" must be an absolute path starting with "topdir"
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

Does anyone know if this script does work?

Thx

ad^2


On Tue, May 22, 2012 at 6:06 PM, ad^2 <adeezainya < at > gmail.com ([email]adeezainya < at > gmail.com[/email])> wrote:
Hello,

From what I have read even though tar supports a hardlink option it
will not do the trick with BackupPC. Have you use tar to copy the
__TOPDIR__/pc directory?

Anyway, I went with the rebuild and let BackupPC recreate the pool
option. I copied the configuration files to retain all the previous
system's settings. It worked and it was fast to setup.

Thanks

On Tue, May 22, 2012 at 12:10 PM, Carl Wilhelm Soderstrom
<chrome < at > real-time.com ([email]chrome < at > real-time.com[/email])> wrote:

On 05/22 11:46 , ad^2 wrote:
I have a BackupPC server running an older unsupported version of
Fedora. I have new server with more disk space and an up to date
operating system. The goal is to migrate all the information over to
the new server

DD is not an option because the device on the existing BackupPC server
contains more than just BackupPC data. It would take to long and I
can't unmount the disk without effecting users.

I tried running BackupPC_tarPCCopy but the "Argument
/var/lib/BackupPC/pc must be an absolute path starting with
/var/lib/BackupPC/" error is displayed.

Is my only option to start creating the new pool from scratch? Or, is
there another way to copy the hardlinks created by BackupPC to the new
server?


I've used tar to capture all of /var/lib/backuppc (or whatever the path is
on your box) and pipe it to netcat to send it across the wire. This can take
a few days tho, during which your backup system is offline. If you need to
preserve historic data going back months or years tho, it may be the way to
go.

Otherwise, just building a new backup server, moving the config over to it,
and keeping the old one around until the data can be considered 'expired' is
the best option.

--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.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 ([email]BackupPC-users < at > lists.sourceforge.net[/email])
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/





--
ad^2

------------------------------------------------------------------------------
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 ([email]BackupPC-users < at > lists.sourceforge.net[/email])
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/





I can confirm that the BackupPC_tarPCCopy does work as I recently moved about 1TB (~3TB before pooling / compression) of backups from one side of my campus to another from CentOS 5.6 x86 to CentOS 6.2 x86_64.  Here's the exact command I used...

On the new server I ran these commands:
mount /dev/vg_backups/lv_backups0 /backups-new
mount -t nfs -o nolock <old server IP>:/backups /backups
/usr/share/BackupPC/bin/BackupPC_tarPCCopy /backups/pc | tar xvPf -


I mounted to the new system using old sytem's path so that the command would work.  That command then ran for ~3 days and my entire pool was then on the new storage system.  I confirmed recently that everything copied correctly as I had to restore an entire system from backup about a week later.


Hope that helps


- Trey

Post BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
On Wed, May 23, 2012 at 10:32 AM, Trey Dockendorf <treydock < at > gmail.com ([email]treydock < at > gmail.com[/email])> wrote:


On Tue, May 22, 2012 at 8:21 PM, ad^2 <adsquaired < at > gmail.com ([email]adsquaired < at > gmail.com[/email])> wrote:
Now that I have the system updated with the latest version I decided
to test the script on the same system. It still does not work and
produces the same error.

Argument "topdir/pc" must be an absolute path starting with "topdir"
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

Does anyone know if this script does work?

Thx

ad^2


On Tue, May 22, 2012 at 6:06 PM, ad^2 <adeezainya < at > gmail.com ([email]adeezainya < at > gmail.com[/email])> wrote:
Hello,

From what I have read even though tar supports a hardlink option it
will not do the trick with BackupPC. Have you use tar to copy the
__TOPDIR__/pc directory?

Anyway, I went with the rebuild and let BackupPC recreate the pool
option. I copied the configuration files to retain all the previous
system's settings. It worked and it was fast to setup.

Thanks

On Tue, May 22, 2012 at 12:10 PM, Carl Wilhelm Soderstrom
<chrome < at > real-time.com ([email]chrome < at > real-time.com[/email])> wrote:

On 05/22 11:46 , ad^2 wrote:
I have a BackupPC server running an older unsupported version of
Fedora. I have new server with more disk space and an up to date
operating system. The goal is to migrate all the information over to
the new server

DD is not an option because the device on the existing BackupPC server
contains more than just BackupPC data. It would take to long and I
can't unmount the disk without effecting users.

I tried running BackupPC_tarPCCopy but the "Argument
/var/lib/BackupPC/pc must be an absolute path starting with
/var/lib/BackupPC/" error is displayed.

Is my only option to start creating the new pool from scratch? Or, is
there another way to copy the hardlinks created by BackupPC to the new
server?


I've used tar to capture all of /var/lib/backuppc (or whatever the path is
on your box) and pipe it to netcat to send it across the wire. This can take
a few days tho, during which your backup system is offline. If you need to
preserve historic data going back months or years tho, it may be the way to
go.

Otherwise, just building a new backup server, moving the config over to it,
and keeping the old one around until the data can be considered 'expired' is
the best option.

--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.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 ([email]BackupPC-users < at > lists.sourceforge.net[/email])
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/





--
ad^2

------------------------------------------------------------------------------
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 ([email]BackupPC-users < at > lists.sourceforge.net[/email])
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/







I can confirm that the BackupPC_tarPCCopy does work as I recently moved about 1TB (~3TB before pooling / compression) of backups from one side of my campus to another from CentOS 5.6 x86 to CentOS 6.2 x86_64.  Here's the exact command I used...

On the new server I ran these commands:
mount /dev/vg_backups/lv_backups0 /backups-new
mount -t nfs -o nolock <old server IP>:/backups /backups
/usr/share/BackupPC/bin/BackupPC_tarPCCopy /backups/pc | tar xvPf -


I mounted to the new system using old sytem's path so that the command would work.  That command then ran for ~3 days and my entire pool was then on the new storage system.  I confirmed recently that everything copied correctly as I had to restore an entire system from backup about a week later.


Hope that helps


- Trey







Sorry forgot to add a key part of how it knew to use the /backup-new path Razz


mkdir /backups
mkdir /backups-new
mount /dev/vg_backups/lv_backups0 /backups-new
mount -t nfs -o nolock <old server IP>:/backups /backups
cd /backups-new/pc
/usr/share/BackupPC/bin/BackupPC_tarPCCopy /backups/pc | tar xvPf -


The tarPCCopy will copy the existing pool, in my case '/backups/pc' to the current directory


Then after transfer
umount /backups /backups-new
mount /dev/vg_backups/lv_backups0 /backups


- Trey

Post BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
On 05/22 08:18 , ad^2 wrote:
From what I have read even though tar supports a hardlink option it
will not do the trick with BackupPC. Have you use tar to copy the
__TOPDIR__/pc directory?

Yes. Works fine using 'cd /var/lib/backuppc/; tar cpf - | nc
targethost.domain.tld 8888' (and obviously having a receiving netcat on the
opposite side).


--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.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 BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
We have them on the old machine. We shutdown the service and will
retain the old information as long as we need to.

I would have preferred to migrate it but the BackupPC_tarPCCopy script
was not supported on the OS the old system was running on.

The BackupPC_tarPCCopy scripts works fine on the new system though.

Thx


On Wed, May 23, 2012 at 11:20 AM, Tyler J. Wagner <tyler < at > tolaris.com> wrote:
So you didn't keep your old backups. You just let it start making new ones.
Correct?

Regards,
Tyler

On 2012-05-23 15:28, ad^2 wrote:
This was the path I chose.

* Migrate the system configurations (/etc/BackupPC)
* Let the pool build on its own. Rebuilding (in this case creating a
new pool) the pool is done by the BackupPC process. Just let the
system run backups and do what it was intended for.

Thx


On Wed, May 23, 2012 at 4:45 AM, Tyler J. Wagner <tyler < at > tolaris.com> wrote:
On 2012-05-23 01:18, ad^2 wrote:
Anyway, I went with the rebuild and let BackupPC recreate the pool
option. I copied the configuration files to retain all the previous
system's settings. It worked and it was fast to set up.

What is this option? I assume it means "Copy the pc directory without hard
links, then rebuild the pool." What command rebuilds the pool in this way?

Tyler

--
"I disapprove of what you say, but I will defend to the death your right
to say it."
  -- Evelyn Beatrice Hall

------------------------------------------------------------------------------
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/



--
ad^2

------------------------------------------------------------------------------
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/


--
"He who would travel happily must travel light."
  -- Antoine de Saint-Exupery

------------------------------------------------------------------------------
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 BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
I can confirm this works now. I tested it last night between two volumes.

The issue was the path in the config file. My mistake was updating the
path to the new location then running the script. I reverted to the
original path, ran the script to move the files then put the new path
back. It worked fine.

Thx

On Wed, May 23, 2012 at 11:36 AM, Trey Dockendorf <treydock < at > gmail.com> wrote:


On Wed, May 23, 2012 at 10:32 AM, Trey Dockendorf <treydock < at > gmail.com>
wrote:



On Tue, May 22, 2012 at 8:21 PM, ad^2 <adsquaired < at > gmail.com> wrote:

Now that I have the system updated with the latest version I decided
to test the script on the same system. It still does not work and
produces the same error.

Argument "topdir/pc" must be an absolute path starting with "topdir"
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

Does anyone know if this script does work?

Thx

ad^2


On Tue, May 22, 2012 at 6:06 PM, ad^2 <adeezainya < at > gmail.com> wrote:
Hello,

From what I have read even though tar supports a hardlink option it
will not do the trick with BackupPC. Have you use tar to copy the
__TOPDIR__/pc directory?

Anyway, I went with the rebuild and let BackupPC recreate the pool
option. I copied the configuration files to retain all the previous
system's settings. It worked and it was fast to setup.

Thanks

On Tue, May 22, 2012 at 12:10 PM, Carl Wilhelm Soderstrom
<chrome < at > real-time.com> wrote:
On 05/22 11:46 , ad^2 wrote:
I have a BackupPC server running an older unsupported version of
Fedora. I have new server with more disk space and an up to date
operating system. The goal is to migrate all the information over to
the new server

DD is not an option because the device on the existing BackupPC
server
contains more than just BackupPC data. It would take to long and I
can't unmount the disk without effecting users.

I tried running BackupPC_tarPCCopy but the "Argument
/var/lib/BackupPC/pc must be an absolute path starting with
/var/lib/BackupPC/" error is displayed.

Is my only option to start creating the new pool from scratch? Or, is
there another way to copy the hardlinks created by BackupPC to the
new
server?


I've used tar to capture all of /var/lib/backuppc (or whatever the
path is
on your box) and pipe it to netcat to send it across the wire. This
can take
a few days tho, during which your backup system is offline. If you
need to
preserve historic data going back months or years tho, it may be the
way to
go.

Otherwise, just building a new backup server, moving the config over
to it,
and keeping the old one around until the data can be considered
'expired' is
the best option.

--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.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/



--
ad^2


------------------------------------------------------------------------------
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/


I can confirm that the BackupPC_tarPCCopy does work as I recently moved
about 1TB (~3TB before pooling / compression) of backups from one side of my
campus to another from CentOS 5.6 x86 to CentOS 6.2 x86_64.  Here's the
exact command I used...

On the new server I ran these commands:
mount /dev/vg_backups/lv_backups0 /backups-new
mount -t nfs -o nolock <old server IP>:/backups /backups
/usr/share/BackupPC/bin/BackupPC_tarPCCopy /backups/pc | tar xvPf -

I mounted to the new system using old sytem's path so that the command
would work.  That command then ran for ~3 days and my entire pool was then
on the new storage system.  I confirmed recently that everything copied
correctly as I had to restore an entire system from backup about a week
later.

Hope that helps

- Trey



Sorry forgot to add a key part of how it knew to use the /backup-new path Razz

mkdir /backups
mkdir /backups-new
mount /dev/vg_backups/lv_backups0 /backups-new
mount -t nfs -o nolock <old server IP>:/backups /backups
cd /backups-new/pc
/usr/share/BackupPC/bin/BackupPC_tarPCCopy /backups/pc | tar xvPf -

The tarPCCopy will copy the existing pool, in my case '/backups/pc' to the
current directory

Then after transfer
umount /backups /backups-new
mount /dev/vg_backups/lv_backups0 /backups

- Trey

------------------------------------------------------------------------------
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/


------------------------------------------------------------------------------
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 BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
On May 23, 2012, at 11:58 AM, "Carl Wilhelm Soderstrom"
<chrome < at > real-time.com> wrote:

On 05/22 08:18 , ad^2 wrote:
From what I have read even though tar supports a hardlink option it
will not do the trick with BackupPC. Have you use tar to copy the
__TOPDIR__/pc directory?

Yes. Works fine using 'cd /var/lib/backuppc/; tar cpf - | nc
targethost.domain.tld 8888' (and obviously having a receiving netcat on
the
opposite side).

Just out of curiosity, what is the advantage of using tar in this fashion
rather than, say, copying over the data partition at the block level? If
you need more space, you could then grow the file system.

Obviously, if there's something you don't like about the old filesystem,
tar would work out better (such as changing filesystem type or something).
But I'm wondering if there is some other reason that I might be missing.

Timothy J. Massey
Sent from my iPhone


------------------------------------------------------------------------------
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 BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
On Wed, May 23, 2012 at 1:25 PM, Timothy J Massey <tmassey < at > obscorp.com ([email]tmassey < at > obscorp.com[/email])> wrote:


On May 23, 2012, at 11:58 AM, "Carl Wilhelm Soderstrom"
<chrome < at > real-time.com ([email]chrome < at > real-time.com[/email])> wrote:

On 05/22 08:18 , ad^2 wrote:
From what I have read even though tar supports a hardlink option it
will not do the trick with BackupPC. Have you use tar to copy the
__TOPDIR__/pc directory?

Yes. Works fine using 'cd /var/lib/backuppc/; tar cpf - | nc
targethost.domain.tld 8888' (and obviously having a receiving netcat on
the
opposite side).


Just out of curiosity, what is the advantage of using tar in this fashion
rather than, say, copying over the data partition at the block level? If
you need more space, you could then grow the file system.

Obviously, if there's something you don't like about the old filesystem,
tar would work out better (such as changing filesystem type or something).
But I'm wondering if there is some other reason that I might be missing.

Timothy J. Massey
Sent from my iPhone


------------------------------------------------------------------------------
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 ([email]BackupPC-users < at > lists.sourceforge.net[/email])
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/






My guess is the backup directory was not on it's own LVM or mount point so a block level copy would grab more than just the topdir.  In my case I was going from xfs to ext4 so the tar method was required.

Post BackupPC Migration, Fedora 8 and BackupPC_tarPCCopy 
Correct. As I mentioned in the original post.

The volume had about 1TB of other data. A block level copy would have
taken to long.



On Wed, May 23, 2012 at 9:18 PM, Trey Dockendorf <treydock < at > gmail.com> wrote:


On Wed, May 23, 2012 at 1:25 PM, Timothy J Massey <tmassey < at > obscorp.com>
wrote:



On May 23, 2012, at 11:58 AM, "Carl Wilhelm Soderstrom"
<chrome < at > real-time.com> wrote:

On 05/22 08:18 , ad^2 wrote:
From what I have read even though tar supports a hardlink option it
will not do the trick with BackupPC. Have you use tar to copy the
__TOPDIR__/pc directory?

Yes. Works fine using 'cd /var/lib/backuppc/; tar cpf - | nc
targethost.domain.tld 8888' (and obviously having a receiving netcat on
the
opposite side).

Just out of curiosity, what is the advantage of using tar in this fashion
rather than, say, copying over the data partition at the block level? If
you need more space, you could then grow the file system.

Obviously, if there's something you don't like about the old filesystem,
tar would work out better (such as changing filesystem type or something).
But I'm wondering if there is some other reason that I might be missing.

Timothy J. Massey
Sent from my iPhone



------------------------------------------------------------------------------
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/



My guess is the backup directory was not on it's own LVM or mount point so a
block level copy would grab more than just the topdir.  In my case I was
going from xfs to ext4 so the tar method was required.

------------------------------------------------------------------------------
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/


------------------------------------------------------------------------------
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 2
Goto page 1, 2  Next
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