[CentOS] scp partition "not a regular file"
kira.laucas at gmail.com
Tue Sep 30 00:55:45 UTC 2008
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
More information about the CentOS