Active Topics

 



Notices


Reply
Thread Tools
Posts: 30 | Thanked: 4 times | Joined on Jan 2008
#1
I was reading about problems with the new Garnet Vm release and it was suggested that I backup my .gvm file before updating. Well I have root access and I found the file and I created a backup directory called .gvmbackup and I typed in cp /home/user/.gvm /home/user/.gvmbackup and I got a response of: "cp: omitting directory '.gvm' so I don't think it copied .gvm to .gvm backup as I wanted. Could someone explain what I did wrong?
Thanks
 
Posts: 223 | Thanked: 67 times | Joined on Jun 2006
#2
you need to use cp -r to recurse into the directory.

The alternative backup method is to use tar:

tar zcvf gvmbackup.tar.gz .gvm

and then to extract it

tar zxvf gvmbackup.tar.gz
 
Posts: 118 | Thanked: 26 times | Joined on Feb 2008
#3
try "cp -a" instead of "cp":

cp -a /home/user/.gvm /home/user/.gvmbackup

Martin
 

The Following User Says Thank You to m_stolle For This Useful Post:
Posts: 30 | Thanked: 4 times | Joined on Jan 2008
#4
Thanks a lot to both of you. The goodwill in these forums is amazing to me.
cheers
 
Posts: 51 | Thanked: 2 times | Joined on Jan 2008
#5
Or you can install the excellent file manager emelFM2 and press the copy button to the directory of your choice.
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:51.