I have been doing it that way for years for a couple of my machines that need to be
backed up at a particular time. Still seems to work fine on v4.
$ /path/to/BackupPC_serverMesg backup clientName clientName backuppc 1
The client name is repeated twice. I remember reading the reason for this at one
time, but I can't remember now. The number at the end is 1 for a full backup and 0
for an incremental. Should be run as the backuppc user.
Bowie
On 8/23/2022 3:17 AM, Taste-Of-IT wrote:
Hi,
i found an old command in the net: "/usr/share/backuppc/bin/BackupPC_serverMesg
backup host.example.tld host.example.tld backuppc 1". Is it safe to use this one
from command line?
thx
Am 23.08.2022 09:13:48, schrieb Taste-Of-IT:
Hi,
ok after some tests i find "BackupPC_serverMesg status host..." to get
information about specific host.
That helps a lot.
Am 22.08.2022 19:28:39, schrieb backu...@kosowsky.org:
Taste-Of-IT wrote at about 15:26:43 +0000 on Monday, August 22, 2022:
> Hi,
> what is the preferred way to run a backupjob from command line e.g. a bash script? I
see the command "/usr/local/bin/rsync_bpc --bpc-top-dir...." in xferlog. Can i use
this, or is there a better way?
>
That would be an *awful* idea for more reasons than I can count.
Beyond that, it's generally *not( a good idea to regularly trigger
backups manually anyway except for special reasons such as testing or
if you need to generate a single backup now versus waiting for the
internal scheduling algorithm to kick in.
If you do need to *occasionally* trigger a manual backup, you shoud
use Backuppc_dump.
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/