Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- backups_root='/Backups-svn-desarrollo';
- backups_prefix='bkp';
- backups_id=`date "+%d-%m-%Y"`;
- backup_name="$backups_prefix-$backups_id";
- backup_full_name="$backups_root/$backup_name";
- svnadmin dump /Users/binarty/Repositorio-desarrollo > "$backups_root/$backup_name";
- tar czvf "$backup_full_name.tar.gz" $backup_full_name;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement