Advertisement
Guest User

Untitled

a guest
May 28th, 2017
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #!/bin/sh
  2. backups_root='/Backups-svn-desarrollo';
  3. backups_prefix='bkp';
  4. backups_id=`date "+%d-%m-%Y"`;
  5.  
  6. backup_name="$backups_prefix-$backups_id";
  7. backup_full_name="$backups_root/$backup_name";
  8.  
  9. svnadmin dump /Users/binarty/Repositorio-desarrollo > "$backups_root/$backup_name";
  10. tar czvf "$backup_full_name.tar.gz" $backup_full_name;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement