btrbk: cosmetics: change info log of send/receive; change topic line; fix typos

pull/88/head
Axel Burri 2016-04-23 14:58:08 +02:00
parent efc260ef91
commit 2e8e4ddefc
2 changed files with 5 additions and 5 deletions

6
btrbk
View File

@ -2,7 +2,7 @@
=head1 NAME =head1 NAME
btrbk - backup tool for btrfs volumes btrbk - create snapshots and remote backups of btrfs subvolumes
=head1 SYNOPSIS =head1 SYNOPSIS
@ -893,7 +893,7 @@ sub btrfs_send_receive($$$$;@)
my $vol_received = vinfo_child($target, $snapshot->{NAME}); my $vol_received = vinfo_child($target, $snapshot->{NAME});
$$ret_vol_received = $vol_received if(ref $ret_vol_received); $$ret_vol_received = $vol_received if(ref $ret_vol_received);
print STDOUT "Receiving subvolume: $vol_received->{PRINT}\n" if($show_progress && (not $dryrun)); print STDOUT "Creating backup: $vol_received->{PRINT}\n" if($show_progress && (not $dryrun));
INFO "[send/receive] source: $snapshot->{PRINT}"; INFO "[send/receive] source: $snapshot->{PRINT}";
INFO "[send/receive] parent: $parent->{PRINT}" if($parent); INFO "[send/receive] parent: $parent->{PRINT}" if($parent);
@ -1057,7 +1057,7 @@ sub btrfs_send_to_file($$$$;@)
my $vol_received = vinfo_child($target, $target_filename); my $vol_received = vinfo_child($target, $target_filename);
$$ret_vol_received = $vol_received if(ref $ret_vol_received); $$ret_vol_received = $vol_received if(ref $ret_vol_received);
print STDOUT "Receiving raw subvolume image: $vol_received->{PRINT}\n" if($show_progress && (not $dryrun)); print STDOUT "Creating raw backup: $vol_received->{PRINT}\n" if($show_progress && (not $dryrun));
INFO "[send-to-raw] source: $source->{PRINT}"; INFO "[send-to-raw] source: $source->{PRINT}";
INFO "[send-to-raw] parent: $parent->{PRINT}" if($parent); INFO "[send-to-raw] parent: $parent->{PRINT}" if($parent);

View File

@ -70,8 +70,8 @@ But what you probably want is something like:
This states: This states:
* Keep all snapshots for five days (no matter how many there are) * Keep all snapshots for five days (no matter how many there are)
* Transfer only the first snapshot ot a day to the target * Transfer only the first snapshot of a day to the target
* Keep all "first snapshots of a day" for <daily> days, etc. * Keep all "first snapshots of a day" for `<daily>` days, etc.
### Upgrade "resume_missing" ### Upgrade "resume_missing"