Tag Info

New answers tagged

0

Here's a good read on how to speed up obnam (may run up to 10 times faster): http://listmaster.pepperfish.net/pipermail/obnam-support-obnam.org/2014-June/003086.html Summary: add "--lru-size=1024 --upload-queue-size=512" to your commandline or config file. Note that it increases obnam's memory usage a bit.


2

There are very few files that absolutely must be different between two machines, and need to be regenerated when cloning: The host name /etc/hostname. The SSH host keys: /etc/ssh_host_*_key* or /etc/ssh/ssh_host_*_key* or similar location. The random seed: /var/lib/urandom/random-seed or /var/lib/random-seed or similar location. Anything else could be ...


1

Note to myself and others: The solution I use now is aptly. From their website: aptly is a swiss army knife for Debian repository management: it allows to mirror remote repositories, manage local package repositories, take snapshots, pull new versions of packages along with dependencies, publish snapshots as Debian repositories. So far my experiences ...


2

/var/cache is not a free-for-all like /var/tmp. Each service that requires it has a subdirectory in /var/cache with appropriate permissions for it to store files. On Debian and derived distributions, you can run dpkg -S /var/cache to find what packages have set up directories under /var/cache, and apt-get --reinstall install PACKAGE_NAME … to reinstall ...


1

Fortunately I still had a copy of the corrupted filesystem, so I had some idea of what should go in /var/cache for my system. cd /var/cache sudo mkdir apache2 apt ddclient debconf dictionaries-common fontconfig ldconfig man modsecurity sudo chmod a=,u=rwx ldconfig sudo chmod g=rsx man sudo chown man man sudo chown www-data modsecurity sudo mkdir ...


1

You could use debmirror in debmarshal mode which seems to keep snapshots of release of packages allowing you to rollback if necessary. Seems simple enough according to the wiki. If that's too complex, mirrors normally don't delete the packages when they are updated, so using a browser you should able to redownload the packages, if necessary. Also, apt keeps ...


1

I have been using btrfs send for backups, and found it to be workable, though with frequent failures. It's important to detect a failed send and delete any partial/corrupt received volumes. I have not had any corruption problems after a successful send. I've written a "sync" utility for btrfs snapshots that detects failures, and also includes a ...


0

Spent sometime on this today, and I think there are two issues here: every for loop iteration, a new incremental file is created (or old one is overwritten :-) . Remember, there is 1:1 mapping between the archive file and the snapshot file, thus one gtar-incremental can not serve all of the archive files. gtar does not like time stamps.This is because the ...


0

One of the possibilities could be to try to mount the backup image and just copy the files to your new drive having previously created a filesystem on the new drive. This post describes how you can prepare a clonezilla image for mounting. It looks like you are going to need a lot of space, though, to decompress the image.


1

It is working for me. --backups is a new option, for example my RHEL6.5 machines do not have it (wget 1.12), and my local Fedora machine does have it (wget 1.14). Have you tried a simple test without the other options? This is what works for me: >mkdir test; cd test >wget -q --backups=4 http://ddg.gg/ >ls index.html >wget -q --backups=4 ...


8

Assume that you have # at beginning of comment lines, so you can do: yum -y install $(awk '!/^#/' list) !/^#/ cause awk to ignore any lines that start with #, print the rest.


0

Create a full system backup using Clonezilla or similar. If you have enough storage you could clone your current distro and any others you test to (for example) a removable hard drive and restore whichever one you prefer.


0

Recompile your kernel with required for CRIU options http://criu.org/Installation



Top 50 recent answers are included