Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
cf69728b
Commit
cf69728b
authored
May 03, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Module docstring: put all the options in the summary line; repair
grammar and spelling.
parent
4f92bb74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
18 deletions
+17
-18
src/ZODB/fsrecover.py
src/ZODB/fsrecover.py
+17
-18
No files found.
src/ZODB/fsrecover.py
View file @
cf69728b
...
...
@@ -13,44 +13,43 @@
##############################################################################
"""Simple script for repairing damaged FileStorage files.
Usage: %s [-f] input output
Usage: %s [-f]
[-v level] [-p] [-P seconds]
input output
Recover data from a FileStorage data file, skipping over damaged
da
ta. Any damaged data will be lost. This could lead to useless output
of critical data were
lost.
Recover data from a FileStorage data file, skipping over damaged
data. Any
da
maged data will be lost. This could lead to useless output if critical
data is
lost.
Options:
-f
Force output to output file even if it exists
Overwrite output file even if it exists.
-v level
Set the verbosity level:
0 --
S
how progress indicator (default)
0 --
s
how progress indicator (default)
1 --
S
how transaction times and sizes
1 --
s
how transaction times and sizes
2 --
Show transaction times and sizes, and
show object (record) ids, versions, and sizes.
2 --
show transaction times and sizes, and show object (record)
ids, versions, and sizes
-p
Copy partial transactions. If a data record in the middle of a
transaction is bad, the data up to the bad data are packed. The
output record is marked as packed. If this option is not used,
transaction with any bad data are skipped.
Copy partial transactions.
If a data record in the middle of a
transaction is bad, the data up to the bad data are packed.
The
output record is marked as packed.
If this option is not used,
transaction
s
with any bad data are skipped.
-P t
Pack data to t seconds in the past.
Note that is the "-p"
option is
used, then t should be 0.
Pack data to t seconds in the past.
Note that if the "-p" option is
used, then t should be 0.
Important note: The ZODB package must be imporatble. You may need
to adjust PYTHONPATH accordingly.
Important: The ZODB package must be importable. You may need to adjust
PYTHONPATH accordingly.
"""
# Algorithm:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment