Tag Info

Hot answers tagged

9

In general it is not safe. The FS assumes that operations are written in certain order so it can write new data of file and then make a pointer to it from other data, the exact details depend on filesystem. Imagine if following happens: dd reads from location X which contains garbage or some data Filesystem writes to location X Filesystem writes to ...


7

It depends on what exactly the partition is for, and what the purpose of the copy is. However, I will say that in general dd is an inappropriate tool for backing up filesystems. That's not what it was intended for, either. It will waste a lot of time copying empty sections of the partition. It may lead to inconsistencies if the filesystem is currently ...


5

Okay, I actually feel confident after doing some reading that using dd will do what you want. According to this website you can use dd to create an image of your drive, which is what you want to do. Backing up your system: So begin by booting from your live disk. Switch to root mode if you are not root already. su root, or sudo su root Check that no ...


2

Parted Magic is very useful, also can do this with a bootable USB or DVD using PartImage on the System Rescue CD (it even comes with the USB boot setup - instructions on the site there). Personally though, can't go wrong with the good ol' Ghost 8 (found on older versions of Hiren's Boot CD but looks like they use a new G4L - Ghost 4 Linux now but try it out ...


2

It depends on what you mean by "current working system". If you simply want to avoid using a boot disk, and don't care about disruption to services running on the computer, it's possible: Shut down all nonessential programs (basically, everything except the root shell you're working in -- don't try this from an X terminal, use a real console shell). ...


1

Use Clonezilla, seriously. It's the best open-source, Linux-based Norton Ghost-like utility. It will do both partition and full disk cloning, either disk-to-disk or disk-to-filesystem (save as a file). It supports most Linux file systems, NTFS, FAT32 and more. It can save to an internal disk, an external drive or even over the network on SMB or NFS shares. ...


1

rsync is the tool of choice for backing up a filesystem, and it can make a bootable backup of the current running OS. Some caveats: you must add the appropriate alphabet-soup options paths are rather critical an exclusion list is required, and will be different for each OS and possibly each configuration Some advantages of rsync over other methods like ...


1

Yes! you can use lftp, it is an ftp client that allows you to mirror a directory. You can also use scp -r or as casey stated use rsync.


1

For simple copying, using rsync to copy to your backup medium, as mentioned in the comments, is sufficient. If you want versioned backups and easier control, rsnapshot is a good choice. However, for a system partition, there's often an easier option. Since most of the data comes unmodified from your distro's repositories, you can usually manage by simply ...


1

Best compression ratio has also some important drawbacks and is often not recommended. For a backup solution it is often important to have a fast restore. You'll get best compression ratios when compressing your volume with a compression tool. xz seems to have best compression ratios: xz -z -c -9 -e /dev/sda2 > /path/file.xz Will compress your disk ...



Only top voted, non community-wiki answers of a minimum length are eligible