Add licensing and compatibility informations

This commit is contained in:
Benjamin Renard 2018-02-17 17:48:52 +01:00 committed by root
parent b606c0ca59
commit a36b30880c
2 changed files with 31 additions and 0 deletions

View file

@ -8,6 +8,11 @@ command line. It's provide parameters permiting :
* to specify as wich user the backup is run for BackupPC ; * to specify as wich user the backup is run for BackupPC ;
* to stop running backup instead of starting new one, and how many hour(s) BackupPC could not start automatically backup ; * to stop running backup instead of starting new one, and how many hour(s) BackupPC could not start automatically backup ;
Compatibility
-------------
This script have been successfully test with BackupPC 3 (3.3.0) and 4 (4.1.5).
Usage Usage
----- -----
@ -32,3 +37,17 @@ Options:
start backup during next x hour(s) (Default : 1 hour(s)) start backup during next x hour(s) (Default : 1 hour(s))
--dry-run,-j Perform a trial run (do nothing real) --dry-run,-j Perform a trial run (do nothing real)
``` ```
Copyright
---------
Copyright (c) 2017 Benjamin Renard
License
-------
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

View file

@ -1,4 +1,16 @@
#!/usr/bin/perl #!/usr/bin/perl
#
# backuppcQueueBackup
#
# Script to queue backup in BackupPC from command line
#
# Author: Benjamin Renard <brenard@zionetrix.net>
#
# Copyright (C) 2017, Benjamin Renard
#
# Licensed under the GNU General Public License version 3 or
# any later version.
#
use strict; use strict;
no utf8; no utf8;