SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
cannot find syntax for command line backup
Author Message
Post cannot find syntax for command line backup 
------ Start of attached email. Subject: cannot find syntax for command line backup ------
Maybe I'm blind but I cannot find this syntax in the docu.
I want to do a full backup by cronjob.

--
Regards
Mit freundlichen Grüßen
Ralf Meischner



------ End of attached email ------

Post cannot find syntax for command line backup 
backuppc < at > saxar.de wrote:
Maybe I'm blind but I cannot find this syntax in the docu.
I want to do a full backup by cronjob.

BackupPC_dump is what you're looking for. It's in BackupPC's program
directory.

# BackupPC_dump: Dump a single client.
#
# DESCRIPTION
#
# Usage: BackupPC_dump [-i] [-f] [-d] [-e] [-v] <client>
#
# Flags:
#
# -i Do an incremental dump, overriding any scheduling (but a full
# dump will be done if no dumps have yet succeeded)
#
# -f Do a full dump, overriding any scheduling.
#
# -d Host is a DHCP pool address, and the client argument
# just an IP address. We lookup the NetBios name from
# the IP address.
#
# -e Just do an dump expiry check for the client. Don't do anything
# else. This is used periodically by BackupPC to make sure that
# dhcp hosts have correctly expired old backups. Without this,
# dhcp hosts that are no longer on the network will not expire
# old backups.
#
# -v verbose. for manual usage: prints failure reasons in more
detail.
#
# BackupPC_dump is run periodically by BackupPC to backup $client.
# The file $TopDir/pc/$client/backups is read to decide whether a
# full or incremental backup needs to be run. If no backup is
# scheduled, or a ping to $client fails, then BackupPC_dump quits.
#
# The backup is done using the selected XferMethod (smb, tar, rsync etc),
# extracting the dump into $TopDir/pc/$client/new. The xfer output is
# put into $TopDir/pc/$client/XferLOG.
#
# If the dump succeeds (based on parsing the output of the XferMethod):
# - $TopDir/pc/$client/new is renamed to $TopDir/pc/$client/nnn, where
# nnn is the next sequential dump number.
# - $TopDir/pc/$client/XferLOG is renamed to
$TopDir/pc/$client/XferLOG.nnn.
# - $TopDir/pc/$client/backups is updated.
#
# If the dump fails:
# - $TopDir/pc/$client/new is moved to $TopDir/trash for later removal.
# - $TopDir/pc/$client/XferLOG is renamed to
$TopDir/pc/$client/XferLOG.bad
# for later viewing.
#
# BackupPC_dump communicates to BackupPC via printing to STDOUT.
#
# AUTHOR
# Craig Barratt <cbarratt < at > users.sourceforge.net>
#
# COPYRIGHT
# Copyright (C) 2001-2003 Craig Barratt



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post cannot find syntax for command line backup 
Guillaume Filion writes:

Ralf Meischner writes:

Maybe I'm blind but I cannot find this syntax in the docu.
I want to do a full backup by cronjob.

BackupPC_dump is what you're looking for. It's in BackupPC's program
directory.

Actually, you are better off using BackupPC_serverMesg to ask
BackupPC to start a backup. If you run BackupPC_dump manually
you could collide with an existing backup running for that host,
or do it while BackupPC_nightly is running.

Here's the command:

BackupPC_serverMesg backup HOSTIP HOST USER 1

(replace HOSTIP with the host's IP address (same as the host name is
ok if dhcp=0), HOST with the host name, user with the user name, and
1 means full, 0 means incremental).

Craig


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB