Re: scp partition "not a regular file"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am Dienstag, den 30.09.2008, 06:25 +0530 schrieb partha chowdhury:
> henry ritzlmayr wrote:
> > Hi list, 
> > 
> > should it be possible to scp a partition with this command:
> > 
> > scp /dev/sda7 backupserver:/backup/sda7.img
> > 
> > I always get "not a regular file" - which is a clear and understandable
> > error, but my googling tells me that some people are doing this - and it
> > seems to work - at least at their systems.
> > 
> 
> i think there are two simple ways to do this :
> 
> 1> mount /dev/sda7 under say /mnt and scp -r /mnt <destination>
> 2> and rsync - i think it is most simple and suitable for backup through
> ssh.

If the content of /dev/sda7 is a filesystem I agree, but if its a raw
device (databases, or xen DOM-Us), then this wonÂt work. 

What I am trying to figure out is, why does this work on some (not mine)
systems?

Henry

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux