save

Transcript

1 SAVE ( 8 ) Maintenance Procedures SAVE ( 8 ) NAME save − sav e files to long term storage with NetWorker savepnpc − save files to long term storage with NetWorker and performs pre and post processing commands on a NetWorker client. SYNOPSIS −N ][ −s server ][ −c client-name save [ name ][ −e retention_time ][ −f dirfile ][ −BEiKLnquSVvx ][ pool ][ −F file ][ −I input_file ][ −g group ][ −b level ][ −t date ][ −m masquerade ][ −w −l browse_time −W width ][ path . . . ] ][ ][ [ ][ −s savepnpc ][ −c client-name −BEiKLnquSVvx −N name ][ −e retention_time ][ −f server dirfile ][ −b pool ][ −F file ][ −I input_file ][ −g group ][ −l level ][ −t date ][ −m masquerade ][ −W width ][ browse_time ][ path . . . ] −w DESCRIPTION save (8)). The saves files, including directories or entire filesystems, to the NetWorker server (see nsr (8) program or the nwadmin progress of a save can be monitored using the X Window System based (3X) based nsrwatch (8) program for other terminal types. curses path arguments are specified on the command line or via the −I option, the current directory will be If no save will save a directory by saving all the files and subdirectories it contains, but it will not cross saved. mount points, nor will it follow symbolic links. If the paths to be saved are mounted from a network file server, will instruct the user to run the save on the remote machine or use the -L option. save nsr (5)) encountered in each directory will be read by default, and they contain spe- The directive files (see cial instructions directing how particular files are to be saved (i.e. compressed, skipped, etc.). These files are named ’ .nsr ’. Each file in the subdirectory structures specified by the path arguments will be encapsulated in a NetWorker save stream. This stream of data is sent to a receiving process (see nsrd (8)) on the NetWorker server, which will process the data, adding entries to the on-line index (see nsrindexd (8)) for each file in the nsrmmd stream, with the data finally ending up on some long term storage media (see (8)). Details about handling media are discussed in nsrmm (8) and nsr_device (5). consists of the same command options as savepnpc and behaves just like save. In addition, prior to save the actual save on a Networker client, savepnpc performs pre-processing commands if any exists in the /nsr/res/.res file, and at the end of the save of the last save set on the client, the post-processing commands (if any) will be invoked. In the condition of failure to run the pre-processing commands, savp- npc aborts itself. All results are logged in /nsr/logs/savepnpc.log file on the client. A timeout condition can be set by the user to indicate at which point in time the post-processing commands need to be run without waiting for all the save sets to be backed up. This timeout attribute resides in the /nsr/res/.res file. The timeout should be specified in such a format that nsr_getdate() can understand (see nsr_get- date (3)). An example of /nsr/res/.res can be described as: type: savepnpc; precmd: /bin/true; pstcmd: /bin/true, "/bin/sleep 5"; timeout: "12:00pm"; The precmd field can be manually modified to contain any number of commands that are needed to be run at the beginning of the save of the 1st save set. The pstcmd is to hold any commands that are needed to be run at the end of the save of the last save set. The pst-processing commands will be run after the save of the last save set or the timeout condition, whichever comes first. OPTIONS −E Estimate the amount of data which will be generated by the save, then perform the actual save. Note that the estimate is generated from the inode information, and thus the data is only actually read once. NetWorker 6.0.Build.67 Last change: May 06, 2000 1

2 SAVE ( 8 ) Maintenance Procedures SAVE ( 8 ) input_file −I In addtion to taking the paths to save from the command line, read paths to save from the named file. The paths must be listed one per line. If no paths are specified on the command line, then only those paths specified in the file will be saved. −i Ignore any .nsr directive files as they are encountered in the subdirectory structures being saved. −K Do not build connecting directory index entries. −L Local. Saves will be performed from the local NetWorker client, even when files are from a net- (8) with the −c work file server. To recover these files, run arguments, where client recover client save . is the name of the NetWorker client that did the −LL In additional to treating the backup as a local backup, cause an extra line to be printed at the end of the completion output of the form ‘‘complete savetime=number’’, where number is the savetime of savegrp (8) command the save set created by this backup. This option is meant to be used by the in performing automatic cloning. −m masquerade savegrp (8) and Specifies the tag to precede the summary line with. This option is used by savepnpc (8) also uses this tag to identify client savefs (8) to aid in savegrp summary notifications. pstclntsave (8) will trigger its operations on the savegrp’s work list that should complete before post-processing. No save. Estimate the amount of data which will be generated by the save, but do not perform the −n actual save. −v save program to tell you in great detail what it is doing as it proceeds. Verbose. Cause the −q Quiet. Display only summary information and error messages. −S Allow only save set recovery. This performs the save without creating any index entries for it. This means that the save set will not be browsable, although save set recovery may be used to recover the data. −s server Specify which machine to use as the NetWorker server. −c client-name Specify the client name for starting the save session. This is useful on clients with multiple net- work interfaces, and hence multiple host names. It can be used to create multiple index databases for the same physical client. Note that this does not specify the network interface to use. This is specified in the server network interface attribute of the client resource (see nsr_client (5)). −N name path The symbolic name of this save set. By default, the most common prefix of the arguments is used as the save set name. retention_time −e Sets the date (in nsr_getdate (3) format) when this save set will become recyclable. By default, the server determines this date for the save set based on the retention policies in effect. This option allows overriding the existing policies on a save by sav e basis. −f dirfile The file from which to read prototype default directives (see nsr (5)). A dirfile of - causes the default directives to be read from standard input. −b Specifies a particular destination pool for the save. pool file −F file . Only save files whose change time is newer than the file modification date of −g group This option is used by savegrp (8) and savefs (8) to denote the group of the save (see nsr_client (5) and nsr_group (5)) and is used by the NetWorker server to select the specific media pool. NetWorker 6.0.Build.67 Last change: May 06, 2000 2

3 SAVE ( 8 ) Maintenance Procedures SAVE ( 8 ) level The level of the save. This option is used by (8) and savefs (8) to specify a particular level −l savegrp for a scheduled save. date nsr_getdate (3) format) after which files must have been modified before they will be −t The date (in (8) and saved. This option is used by (8) to perform scheduled saves by consulting savegrp savefs with the media database to determine the appropriate time value based on the previous saves for the save set and the level of the scheduled save. −w browse_time nsr_getdate Sets the date (in (3) format) after which this save set will no longer be browsable. By default, the server determines the browse date for the save set based on the browse policies in effect. This option allows overriding the existing policies on a save by sav e basis. −W width The width used when formatting summary information output. −x Cross mount points. −B Force save of all connecting directory information from root (‘‘/’’) down to the point of invocation. Stop the save if an error occurs. The save −u program normally treats errors as warnings and contin- ues to save the rest of the files in the backup. When this option is set, errors will cause save to exit and abort the save. This option is not recommended for general use, although it can be useful when a group of files needs to be backed up as a set. −V Prevent the OFC mechanism from creating a point-in-time copy of the source volume. (Included for compatiblity with NT NetWorker servers.) SEE ALSO curses (3X), nsr_getdate (3), nwadmin (8), nsr (5), nsr (8), nsr_client (5), nsr_device (5), nsr_group (5), (8), nsr_service (8), nsrim (8), nsrindexd (8), nsrmm (8), nsrmmd (8), nsrwatch (8), recover nsrd (5), savefs savegrp (8) (8), DIAGNOSTICS Exit Codes 0 Normal exit. This means that a save set was correctly created on the server. Messages about indi- vidual file backup failures are warnings , and do not cause abnormal exit. <>0 Abnormal exit. A save set was not correctly created on the server. Messages host : level= level , size time count files. saveset This message (with the appropriate client host name, saveset name, level, total save set size, elapsed time, and file count) is printed whenever save is run by savegrp (8) and exits normally. host : filename : warning Messages of this form are warnings about difficulties backing up individual files. Such messages do not normally cause the save to fail, and therefore may appear in the save output found in the ‘‘Savegroup Completion’’ message’s Successful section. NetWorker 6.0.Build.67 Last change: May 06, 2000 3

Related documents

10749

10749

Cash transfers: what does the evidence say? A rigorous review of programme impact and of the role of design and implementation features Francesca Bastagli, Jessica Hagen-Zanker, Luke Harman, Valentina...

More info »
ME910C1 AT Commands Reference Guide

ME910C1 AT Commands Reference Guide

ME910C1/NE910C1/ML865C1 AT Commands Reference Guide 80529ST10815A Rev. 4 – 2018 -10-2 4

More info »
FastLane Help

FastLane Help

FastLane Help FastLane Help 1

More info »
WaterSense at Work: Best Management Practices for Commercial and Institutional Facilities

WaterSense at Work: Best Management Practices for Commercial and Institutional Facilities

WaterSense at Work Best Management Practices for Commercial and Institutional Facilities

More info »
Advanced Metering Initiatives and Residential Feedback Programs: A Meta Review for Household Electricity Saving Opportunities

Advanced Metering Initiatives and Residential Feedback Programs: A Meta Review for Household Electricity Saving Opportunities

Advanced Metering Initiatives and Residential Feedback Programs: A Meta-Review for Household Electricity-Saving Opportunities 1 2 Authors: Karen Ehrhardt-Martinez, Kat A. Donnelly, & John A. “Skip” La...

More info »
Options for Reducing the Deficit: 2019 to 2028

Options for Reducing the Deficit: 2019 to 2028

CONGRESS OF THE UNITED STATES CONGRESSIONAL BUDGET OFFICE Options for Reducing the Deficit: 2019 to 2028 Left to right: © Syda Productions/Anatoliy Lukich/Garry L./Andriy Blokhin/Juanan Barros Moreno/...

More info »
User Guide EN 1

User Guide EN 1

Product Documentation PUBLIC SAP Cloud for Customer SAP Cloud for Customer User Guide

More info »
Pro Tools Reference Guide

Pro Tools Reference Guide

® Pro Tools Reference Guide Version 9.0

More info »
AcqKnowledge 4 Software Guide

AcqKnowledge 4 Software Guide

® Acq 4 Software G uide Knowledge Check BIOPAC.COM > Sup port > Manuals for updates For Life Science Research Applications Data Acquisition and Analysis with BIOPAC Hardware Systems Reference Manual f...

More info »
novaPDF   Paperless office solutions

novaPDF Paperless office solutions

novaPDF Paperless office solutions novaPDF User Manual Copyright © 2019 Softland

More info »
msar-fy2020

msar-fy2020

A BUDGET FOR A BETTER AMERICA — MAJOR SAVINGS AND REFORMS A BUDGET FOR A Better America PROMISES KEPT. TAXPAYERS FIRST. Major Savings and Reforms FY 2020 FISCAL YEAR 2020 BUDGET OF THE U.S. GOVERNMENT

More info »
WordSmith Tools Manual

WordSmith Tools Manual

WordSmith Tools Manual Version 6.0 © 2015 Mike Scott Lexical Analysis Software Ltd. Stroud, Gloucestershire, UK

More info »
User Manual

User Manual

CLC Main Workbench USER MANUAL

More info »
acdsee 21

acdsee 21

Photo Studio Standard 2018

More info »
NRDC: Game Changer   How the Sports Industry Is Saving the Environment (PDF)

NRDC: Game Changer How the Sports Industry Is Saving the Environment (PDF)

SePtember 2012 rEpor N R DC T r:12-08-A Game ChanGer how the SPortS induStry iS Saving the environment Preface Major League Baseball Commissioner Allan H. (Bud) Selig afterword Martin Tull, Executive ...

More info »
BPC Retirement Security Report

BPC Retirement Security Report

Securing Our Financial Future: Report of the Commission on Retirement Security and Personal Savings June 2016

More info »
PostScript Language Reference Manual

PostScript Language Reference Manual

See also cross-references: abcdefghijklmnopqrltuvw PLRM 2nd Edition July 27, 1992 ® PostScript Language Reference Manual SECOND EDITION Adobe Systems Incorporated Addison-Wesley Publishing Company, In...

More info »