• Increase font size
  • Default font size
  • Decrease font size
Home Software SysFunc Sysfunc Reference Guide - File backup

Sysfunc Reference Guide - File backup

E-mail Print
Read : 3,156 times
(0 votes, average 0 out of 5)
Article Index
Sysfunc Reference Guide
Configuration parameters
System database
Disk management
Error handling
File manipulation
Filesystems
IP V4 addresses
Kernel
Logical volume manager
Miscellaneous
Message display
User interaction
Network
OS
File backup
Software packages
Services
Time and date
Temporary file management
Users and groups
Vmware-specific
Function index
All Pages
This feature is still under development: so far, only regular files and symbolic links are supported. Other file types are ignored and not saved.

sav_zap

Delete eveything that was saved on this host

Arguments

None

Returns

Always 0

Displays

Nothing

save

Saves a file

No action if the **$sf_nosave** environment variable is set to a non-empty string.

If the input arg is the path of an existing regular file or symbolic link, the file is saved.

If the file cannot be saved (copy or dir creation failure), a fatal error is raised and the program is aborted.

Arguments

$1 Path. Beware! Arg can contain any char (including blanks)

Returns

Always 0

Displays

Info msg

 

Please login or register to add a comment