Ricerca personalizzata

venerdì 4 gennaio 2008

iBackup, per un backup completo di Linux


iBackup è un programmino tanto semplice quanto utile per fare il backup di tutto quello che abbiamo nel nostro sistema UNIX (Solaris, BSD, Linux): preferenze, file, mail, gallerie di iPhoto, libreria di iTunes, insomma proprio tutto, ve lo consiglio davvero!

Installation on Debian
Debian does provide packages for testing and unstable.
apt-get update && apt-get install ibackup
cp /usr/share/doc/ibackup/examples/ibackup.conf /etc

Dependencies
GNU Bash (recommended)
OpenSSH (recommended)

Restore from a backup
Following command restores the complete etc directory to /
cd /
gzip -dc silverhorse_15011963_1459.tar.gz | tar -xvf - etc

How to use rsync with IBackup

In order to use this powerful utility with your IBackup account, please follow these steps:

  • Install rsync, if it is not already installed on your UNIX or Linux computer from rsync's website: http://rsync.samba.org

  • To backup a directory to your ibackup account, run the following command from the shell:

    $ rsync -r -v -z -t @rsync.ibackup.com::ibackup

    For example, to backup the directory /home/data to your IBackup account with the username say john, you would run:

    $ rsync -r -v -z -t /home/mydata john@rsync.ibackup.com::ibackup

    You will be prompted for your IBackup password, Enter your IBackup Password.

  • If you do not wish to be prompted for a password, you may set the following shell variable to your IBackup password and run the rsync command:

    $ export RSYNC_PASSWORD=

  • Connections through rsync are not secure by default. However, you may secure your rsync connection to IBackup using SSL by running stunnel.

    Run Stunnel on your UNIX or linux server:

    $ stunnel -c -d localhost:2000 -r rsync.ibackup.com:5000

    and then run rsync through your local stunnel to encrypt the connection to IBackup using SSL.

    $ rsync -r -v -z -t /home/mydata john@localhost::ibackup --port=2000

    While you may use any port for your localhost instead of 2000, you need to use port 5000 for the remote stunnel connection to IBackup's rsync server.

    If you are behind a firewall, setup your firewall to allow port 5000.

    If you use /etc/hosts.allow method to control IPs that have access to certain services on your linux server, make sure you add an entry as follows:
    ALL: 127.0.0.1

  • You may also schedule rsync to run on a regular basis using cron, the standard scheduler for UNIX.


Ultimi pubblicati categoria Backup
Backup Links

0 commenti:

Video di YouTube

Vota il Post

Fai Notizia
Social Bookmarking
Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Linkarena Add to: Favoriten Add to: Seekxl Add to: Kledy.de Add to: Social Bookmarking Tool Add to: BoniTrust Add to: Power Oldie Add to: Bookmarks.cc Add to: Favit Add to: Newskick Add to: Newsider Add to: Linksilo Add to: Readster Add to: Folkd Add to: Yigg Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Spurl Add to: Google Add to: Blinklist Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Information

DEM MEM 500X575

Elenco blog personale