diff options
author | Eric Leblond <eric@regit.org> | 2012-12-26 22:46:21 +0100 |
---|---|---|
committer | Eric Leblond <eric@regit.org> | 2012-12-27 11:32:33 +0100 |
commit | d17c772c98057b2cc0118274605d292809ff6b1e (patch) | |
tree | 5334640cd93f372b764ec5b0150d2f979ed8008a /nfacct.8 | |
parent | b1be73cbeea81d47fde3180bc7172004c7473a30 (diff) |
Add restore command
This patch adds a 'restore' command to nfacct commands. It takes
the output of 'list' command and use it to restore the counters.
Basically, the user can save the counter with:
nfacct list >nfacct.dump
And restore them with:
nfacct restore <nfacct.dump
Signed-off-by: Eric Leblond <eric@regit.org>
Diffstat (limited to 'nfacct.8')
-rw-r--r-- | nfacct.8 | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,10 @@ specified at any given time. .BI "list " List the existing accounting object in table. .TP +.BI "restore " +Restore accounting object table by reading from stdin. Input format is the one used +as output by the list command. +.TP .BI "add " Add new accounting object. .TP |