# Demo backup.cfg file used by backup.py [p4] P4ROOT = /Perforce/future P4PORT = ssl:20101 P4USER = p4admin P4PASSWD = adminpass P4LOG = /Perforce/future/log P4PREFIX = /Users/sknop/backup/future [bin] P4D = /usr/local/bin/p4d-13.2 P4 = /usr/local/bin/p4-main [mail] MAILHOST = zimbra.perforce.co.uk FROM = log_test@perforce.com TO = sknop@perforce.com, sknop@gmx.net SUBJECT = "Backup log" CAPACITY = 10 [log] BACKUP_LOG = /Perforce/future/backup.log LEVEL = INFO
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 8397 | Sven Erik Knop |
Little backup tool for Perforce in Python. Needs P4Python installed for verify. Needs P4D executable specified Runs: - p4 verify - p4d -r $P4ROOT -jc -Z prefix - rotates the log file to the prefix location and compresses it Sends out an email after completion. Enjoy. |