Posts with the tag Backup
rsync for Mac OS X
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 www-data@example.com:/var/www/ /var/www/
Resources
- History of the Homebrew Formula
- (Outdated) info on rsync 3.0.x on Mac OS X:...
Backup Google Contacts
Possible Choices
-
Funambol
https://www.forge.funambol.org/download/#start
(and http://en.wikipedia.org/wiki/SyncML) -
Synthesis SyncML-Client http://synthesis.ch/prod_client.php
-
Conduit, an open source Gnome program:
http://live.gnome.org/Conduit
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:
http://backupgoo.com -
Cloud based solution (using Amazon S3):
https://www.backupify.com
Backup of Webserver
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...
(Automated) Manual Backup of a WordPress Blog (Including the Database)
I wrote my own shell script to create a backup of this WordPress blog as I was not happy with the ready to use backup plugins for WordPress such as wp Time Machine.
The script creates two files during the backup process. One that contains all the files in...
Backup saved passwords in Ubuntu
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 somename.keyring
).
You can also export all your passwords from the Gnome Keyring using the python module keyring as described in <a...
Have a look at your MBR using `dd`, `hexdump` and `file`
With two little tools (dd
and 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
where /dev/sda
is the hard disk you want to inspect.
So here I provide an example...
Create an .ISO Image File From the Contents of a Folder
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
resources:
- <a...
OfflineIMAP - have a local copy of your mail
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...
My documented Search for Free Software for IMAP Synchronisation
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
- syncmaildir...
Synchronize Directories using Unison
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 for Synchronization and Backup
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
.gitignore
) - How to do it
- Pros...
Save Websites to Mirror a Browsable Version Using wget or webhttrack
using wget
http://www.boutell.com/newfaq/creating/mirroring.html
http://ubuntuforums.org/showthread.php?t=654722&page=2
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...
Backup using disk dump – dd
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 /dev/sdx
:
dd if=/dev/sdx9 of=imagefile bs=2048
You can also pipe it into gzip...