Program source codes usually do not make problems, there are distributed version control systems with remote repositories which are ideal for not only sharing but also backing up the data.
Usually there are gigabytes of data that you will want to backup besides your source code. A good place for such backups is a remote storage or an external drive. If you'd like to automate the backup process as much as possible I suggest using rsync. It enables making incremental backups, which save your Internet bandwith / makes it faster to synchronize external drives. The following makes an incremental copy of some directories located in the home directory.
declare -a SOURCE_DIRS=("a" "b" "img" ) BACKUP_DIR=/mnt/backup/ for source_dir in ${SOURCE_DIRS[@]} do echo "Current directory: $HOME/$source_dir" rsync -a "$HOME/$source_dir" $BACKUP_DIR done sync echo "Backup complete"
This works exceptionally well. The -a option stands for:
- -r, --recursive recurse into directories
- -l, --links copy symlinks as symlinks
- -p, --perms preserve permissions
- -t, --times preserve modification times
- -g, --group preserve group
- -o, --owner preserve owner
- --devices, preserve device files
- --specials, preserve special files
Cheers!
KR
duplicity is better [:
ReplyDeletekuşadası transfer
ReplyDeletefoça transfer
alaçatı transfer
didim transfer
karşıyaka transfer
C4RZİ