Posts with the tag Backup
You can upgrade Lion's version of rsync (2.6.9) to 3.x (currently 3.0.9) via Homebrew:
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/rsync.rb
Backing up a remote folder to a local one works like this then:
rsync -avz -e ssh firstname.lastname@example.org:/var/www/ /var/www/
- History of the Homebrew Formula
- (Outdated) info on rsync 3.0.x on Mac OS X:...
Synthesis SyncML-Client http://synthesis.ch/prod_client.php
Conduit, an open source Gnome program:
Works well! I use it on Ubuntu Linux 10.10 maverick.
Backup Goo, Works on Mac, Win, Linux; 14 days trial version, 10 EUR afterwards:
Cloud based solution (using Amazon S3):
The backup of a webserver is not always as straightforward as the backup of your computers at home or just a single website etc. This blog states how I do it.
#!/bin/bash ### set to the server address of your server: serveraddress=example.com ## login as root...
The script creates two files during the backup process. One that contains all the files in...
To make a backup of the saved passwords in Ubuntu just make a backup of the folder
~/.gnome2/keyrings/. This is where Gnome stores its password keyrings (named something like
You can also export all your passwords from the Gnome Keyring using the python module keyring as described in <a...
With two little tools (
hexdump) you can use your command line to inspect / investigate the master boot record of a hard disk.
The command is
sudo dd if=/dev/sda bs=512 count=1 | hexdump -C
/dev/sda is the hard disk you want to inspect.
So here I provide an example...
Easily create an iso image using mkisofs from command line.
To produce an ISO image of a directory (with -J Joliet extensions; with -r Rockridge extensions; with -R Rockridge extensions preserving rights and ownerships; with -V to set the Volume-ID) run:
mkisofs -J -R -o image.iso -V "Data Backup" folder/data
While it is very convenient to have all mail available online and it is cheap (Google Mail offers a lot of storage for free), you might sleep better at night if you were sure to have a copy of you mail on your own hard disk drive at home. offlineimap...
To dump / backup your IMAP Mail Folder to a local directory, there are some projects in the Ubuntu repositories:
looked for last changes on 2010-01-10
- imapcopy - pascal http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html last change: 2006-04
- imapsync - perl http://www.linux-france.org/prj/imapsync/ last change: v1.286 2009-07
- offlineimap - python http://software.complete.org/software/projects/show/offlineimap last change in git repo: 2009-08
Unison is a great tool to keep directories and files synchronized. It is extremely simple to use once you figure out how to do the setup and it can be done automatically (via a cronjob).
I show you here how to do it:
If you are not sure if used Unison before,...
Git might be used as a back up system. There used to be an article on this topic on http://www.bytetrap.com/blog/2008/11/24/backup-and-synchronization-git/. Unfortunately it is not available any more. Here are the main headlines:
- Why git, not rsync
- What folders / files to exclude ( to be set in
- How to do it
wget -m -k -K -E http://example.com/
If this command seems to run forever, there may be parts of the site that generate an infinite series of different URLs. You can combat this in many ways, the simplest being to use the -l option to specify...
Note: The following commands have all to be run as the super user (root) as raw access to partitions is not permitted to normal users.
A simple bit by bit backup of the partition
9 on the hard disk
dd if=/dev/sdx9 of=imagefile bs=2048
You can also pipe it into gzip...