Skip to content

Instantly share code, notes, and snippets.

View y0j's full-sized avatar

Denis Karabanov y0j

View GitHub Profile
#!/usr/bin/perl
use strict;
use Net::SMTP;
# Change this to wherever you want to your backups to go
my $server = "d6x64.bb";
my $storage = '/home/d6x64.bb';
my $rsync_command = "/usr/bin/rsync -a --numeric-ids --delete --password-file=/root/rsync.p";
my $target = 'rsync@8.8.8.8::full';