We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged

0

In fact you don't have to back up the directory. Once the partition is present, you can just copy the contents and then you can mount it at /home/dev. This will hide what's at that location, so you may want to empty that folder not to clutter your disk with old stuff. (I suggest you do back it up anyhow just in case. You can store the backup anywhere you ...


0

As already mentioned, btrfs has the ability to take snapshots. Also lvm, which is often used on servers because it allows flexibility in managing your disks, has the ability to do snapshots. But the easiest way to use LVM is to select it when first installing. See https://www.tecmint.com/take-snapshot-of-logical-volume-and-restore-in-lvm/ The procedure to ...


0

The proposed methods from other answers do not work since tar will print: name123 symbolic link to namexyz if there are symlinks in the archive and similar messages for hardlinks. So the only way to deal with that is to use star: star -t -tpath < archive.tar.bz2 > somename Do this for all archives, sort the outpout and then use the well known ...


0

If you have AWK, you can use a one liner like this: awk '{if (NR==FNR) { arr[$6]=1 } else { if (! arr[$6]) { print } } }' backup2_files.txt backup1_files.txt This will build an AWK array with the file names of backup 2 and then check whether the file names of backup 1 are present in that array. If not, it will print them. EDIT: Here's an improved version ...


0

When doing a new full backup, does duplicity transfer every file again? yes. Or does it combine the last full backup (on the remote server) and the incremental backups there to create new files, i.e. the new full backup? no. duplicity treats backends as dumb storage. that's why it works with so many different types of backend. ..ede/duply.net


0

Use the -R when you attempt to do a standard clone and fail because you get an error message that says: "The Disk Has Bad Sectors ... Use the -rescue option...". On my machine, it cloned the first partition, skipped the second and asked me to hit Enter to continue and then it moved on to the third partition. The way to use it is when it asks you if you ...


0

Just upgrade your rsync versions to ensure they are exactly the same on both the sending and receiving PCs. See my answer here: https://serverfault.com/questions/883487/unable-to-rsync-due-to-broken-pipe/988794#988794.


0

I wrote a step-by-step detailed answer of how I solved a very similar challenge on the question: Turning a running Linux system into a KVM instance on another machine. I hope it proves a useful answer for this question too. Goal of the answer: to take a physical Linux P node running live-production and virtualise it. Without having to create and allocate ...


Top 50 recent answers are included