logo       

Re: Disk full - moving rsnapshot root: msg#00043

sysutils.backup.rsnapshot.general

Subject: Re: Disk full - moving rsnapshot root

On Tue, Aug 15, 2006 at 11:53:30AM -0700, Shannon S. Coen wrote:
> The disk our rsnapshot root is on has finally filled up. I've mounted a
> new, bigger one and would like to move the data from the old to the new.
> Can this be done so that the inode/link structure remains intact
> (keeping disk usage the same)?

I'd use dump and restore for this, something like:

dump -0 -f - /smalldisk | (cd /bigdisk; restore -r -f -)

Both filesystems must be the same type, and the new one must really be
new. newfs it just before doing this, just to be on the safe side.

cp will *not* do the job.

Ideally, you'll be in single user mode when you run the dump/restore.
It is essential that no other processes are using those filesystems
anyway.

Here's some useful links:
http://lantech.geekvenue.net/chucktips/jason/chuck/1004897633/index_html
http://dump.sourceforge.net/
http://www.netadmintools.com/art180.html

--
David Cantrell | Official London Perl Mongers Bad Influence

Today's previously unreported paraphilia is tomorrow's Internet sensation

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise