Welcome! » Log In » Create A New Profile

Moving to a new disk

Posted by Anonymous 
Moving to a new disk
July 02, 2015 12:18AM
Hallo, Thierry,

Du meintest am 02.07.15:

[quote]I need to move it to a 3TB disk.
What is the best method to copy my content from a disk to a new one?
will simple cp do the work?
[/quote]
What works:

Source=/Path/to/old/backup
Target=/Path/to/new/backup
mkdir -p $Target
rsync -axH ${Source}/. ${Target}

I've just transferred a backup with about 1 TByte from one disk to
another, needed more than 1 day.

And you should stop all "rsnapshot" jobs during that time.

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Moving to a new disk
July 02, 2015 12:25AM
On Jul 02 09:16, Helmut Hullen (Hullen < at > t-online.de) wrote:

[quote][quote]I need to move it to a 3TB disk.
What is the best method to copy my content from a disk to a new one?
will simple cp do the work?
[/quote]
What works:

Source=/Path/to/old/backup
Target=/Path/to/new/backup
mkdir -p $Target
rsync -axH ${Source}/. ${Target}

I've just transferred a backup with about 1 TByte from one disk to
another, needed more than 1 day.

And you should stop all "rsnapshot" jobs during that time.
[/quote]
Of course, if you're using LVM you can also use pvmove
and won't need to stop running rsnapshots either.

--
Tapani Tarvainen

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Moving to a new disk
July 02, 2015 12:30AM
Hi, my 500GB destination disk is full.
I need to move it to a 3TB disk.
What is the best method to copy my content from a disk to a new one?
will simple cp do the work?
Thanks

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Moving to a new disk
July 02, 2015 03:58AM
On Thu, Jul 02, 2015 at 09:16:00AM +0200, Helmut Hullen wrote:
[quote]Hallo, Thierry,
[quote]What is the best method to copy my content from a disk to a new one?
will simple cp do the work?
[/quote]
Source=/Path/to/old/backup
Target=/Path/to/new/backup
mkdir -p $Target
rsync -axH ${Source}/. ${Target}
[/quote]
If you've got GNU cp then cp -a will preserve hard links.

If you use rsync, then consider using -S as well, to get more efficient
handling of sparse files, or even of files that can be made sparse.

--
David Cantrell | http://www.cantrell.org.uk/david

Never attribute to malice that which can be explained by stupidity
-- Hanlon's Razor

Stupidity maintained long enough is a form of malice
-- Richard Bos's corollary

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Sorry, only registered users may post in this forum.

Click here to login