Others Days 2
Others Days 2
Monterey Slideshow:
Other day on Cupertino, I take this:
Palo Alto Fire Dept:
Others Days 2
Monterey Slideshow:
Other day on Cupertino, I take this:
Palo Alto Fire Dept:
Others Days
La oficina del DMV:

Visitando Stanford (La Clinica):
AcompaƱando a George al work:
Despues publico mas fotos y/o videos
Cypress Monterey + Canney Row Company
Fotos del pasado domingo:
Video entrando al Cannery Row Comapany:
Easy Backup Data Unix-Like
Some examples tested on Debian / Ubuntu
# Include .hidden_files (.svn/.git/etc...) # copy dir on localhost cp -a $SOME_PATH $NEW_PATH # apt-get install smbfs smbclient # Samba remote to local smbclient "//SOME_PLACE/SHARED FOLDER" -U $USER $PASS -c \ "cd \"$SOME_PATH\"; lcd \"$NEW_PATH\"; prompt; recurse; mget *; quit" # wget -c "http://ossw.ibcl.at/FTPSync/ftpsync-latest.tar.bz2" # User and Password on .netrc (chmod 600) [http://www.mavetju.org/unix/netrc.php] # FTP remote to local ftpsync -gv ftpserver=someserver.com BackupWWW/ ftpdir=/www/ # SSH Copy File scp $SOME_FILE $USER@$REMOTE:$SOME_PATH # SSH Copy Dir scp -r $SOME_PATH $USER@$REMOTE:$SOME_PATH # apt-get install rsync # Sync directories rsync -v -u -a --delete --stats $SOME_PATH $BACKUP_PATH # Backup System: nc -lp $HOST > backup.tar.gz tar cf - $DIR | gzip | nc -w 1 $HOST $PORT # Clone disk to other disk (same host) dd if=/dev/sdX of=$OUTPUT # (OUTPUT could be /dev/sdY or /some/path/disk.img) # Clonning Hard Drive (other host) nc -l -p $PORT | dd of=/dev/sda dd if=/dev/sda | nc $HOST $PORT # Date NOW=`date +%h-%d-%Y-%H%M%S` # Compress (z = gzip or j = bzip2) tar cvzf $BACKUP_FILE-$NOW.tar.gz $SOME_PATH # MySQL mysqldump $DB -u $USER --password=$PASS | gzip -c > $DB-$NOW.sql.gz # SQLite echo '.dump' | sqlite3 $DB | gzip -c >$DB-$NOW.sql.gz # PostgreSQL # .pgpass (chmod 600) pg_dump $DB | gzip -c > $DB-$NOW.sql.gz
Using crontab to run your backup(s) script(s)
Other stuff:
Amanda is a backup system that allows the administrator to set up a single master backup server to back up multiple hosts over network to tape drives/changers or disks or optical media.
DRBD refers to block devices designed as a building block to form high availability (HA) clusters. This is done by mirroring a whole block device via an assigned network. DRBD can be understood as network based raid-1.
Control Version Systems:
Subversion
Mercurial
Git
Are useful when you have different versions or configurations files.
Saturday in the park:
Saludos a toda la familia desde el parque parte 01:
Saludos a toda la familia desde el parque parte 02: