File Backups

[posted 2002/05/14]

We have added a new piktc option, '-b', for making file backups:

# piktc -h

Usage:  piktc <-bcCdeEfGhiIkKlLm#MprRstTvVxX>
...

        -b         backup alert/script/program/file/object
                   file(s)

By specifying -b, whenever you install or delete files (or refresh PIKT.conf), piktc_svc will make a backup of the files first (with a file extension you specify using backup_extension in PIKT.conf, else the default is ".piktbak").

The file backup option is especially useful when overwriting system configuration files during an initial PIKT setup (for example, when installing a PIKT- managed inetd.conf).  If you goof up, you can revert to the backup copy.

For more examples, see Developer's Notes.

 
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
View sample
backup network
configuration
Pikt script