Yes you can.
And, it's the only way to chain several ( max 8 ) backups.
Code: Select all
pbackup -q "job1" "job2"
Code: Select all
pbackup -q "job1" "job2"
You already got one on your computer. Each backup job has a config-file, and there is a default one. But, they are not made for reading, they are made for execution. Look at /root/.pbackup/profiles/default.Gekko wrote:Does it have a config file in which it stores backup profiles? If so, upload a sample to www.pastebin.ca or somewhere for me to analyze
Code: Select all
#Pbackup - profile
#[MAIN SETTINGS]
CHKINCREMENTAL=true
CHKFULLBACKUP=false
CHKMIR=false
INCLUDE="/root/my-documents/|"
SAVEMODE=CD
BCKDEV="/dev/hdc"
BCKDATE_FROM=01/01/1970
#[BACKUP]
CHKREC=true
CHKSYMLN=false
CHKMULTISESSION=false
CHKCOMPRESS=false
CHKJOLIET=false
EXCLUDE_BACKUP=""
FIND_NAME="*"
MNTPNT="/mnt/cdrom/"
TMPDIR="/tmp/"
#[SYNC]
CHKMIRSYMLN=false
CHKMIRATTRIBUTES=true
CHKMIRUPDATESYM=false
CHK_WRITEHIST=true
CHKTRASH=true
CHKLEADING_PATH=true
SYNCACTION=1
EXCLUDE_MIRROR=""
TRASHDIR="/tmp/pbackupTRASH/"
#[JOBS]
LASTSUCCESS=---
LASTRUNTXT="11.Jun 18:13"
LASTSTATUS="Error"
SCHEDULE="---"
#[MISC]
CHKAUTOMOUNT=false
WARN_FS=true
WARN_LEADPATH=true
WARN_MOUNT=true
I have ordinary files in subdirectories of dev_save that I am changing, AND I have the content of my pup_save which is on dev_save that also is changing.Did I misunderstand? Do you have other files in dev_save directory that you want to save. Are these ordinary files which changes fileattributes, or are they sfs filesystems or similar. If so, they should be included in the full backup.
Running pbackup from a console I get the following:-#Pbackup - profile
#[MAIN SETTINGS]
CHKINCREMENTAL=true
CHKFULLBACKUP=false
CHKMIR=false
INCLUDE="/root/|/mnt/hda5/|/gnucash/|"
SAVEMODE=HD
BCKDEV="/mnt/hdd5/PuppyBackup/"
BCKDATE_FROM=20/07/2007
FTPSERVER=
FTPSERVERDIR=
FTPUSERNAME=
FTPPASSWORD=
#[BACKUP]
CHKREC=true
CHKSYMLN=false
CHKMULTISESSION=false
CHKCOMPRESS=false
CHKJOLIET=false
EXCLUDE_BACKUP=""
FIND_NAME="*"
MNTPNT="/mnt/cdrom/"
#[SYNC]
CHKMIRSYMLN=false
CHKMIRATTRIBUTES=true
CHKMIRUPDATESYM=false
CHK_WRITEHIST=true
CHKTRASH=true
CHKLEADING_PATH=true
SYNCACTION=1
EXCLUDE_MIRROR=""
TRASHDIR="/tmp/pbackupTRASH/"
#[JOBS]
LASTSUCCESS=1184924332
LASTRUNTXT=""
LASTSTATUS=""
SCHEDULE="---"
#[MISC]
CHKAUTOMOUNT=true
WARN_FS=true
WARN_LEADPATH=true
WARN_MOUNT=true
then the usual couple of comments about 'locale'cp: when preserving paths, the destination must be a directory
One other item that is significant. If I remove the final '/' from the 'BCKDEV' the backup runs. However it creates a directory called 'puppybac' (8 chars?) and does not add the 'to' & 'from' dates to the directory name. At the finish the directory names in the display are in 8.3 format. The partition is unmounted at the finish even if it was mounted at the start./usr/local/pbackup/pbackup: line 905: /root/.pbackup/history/history: Not a directory
/usr/local/pbackup/pbackup: line 908: /root/.pbackup/history/20.Jul 19:23:29: Not a directory
/usr/local/pbackup/pbackup: line 909: /root/.pbackup/history/20.Jul 19:23:29: Not a directory
sh-3.00#