dbd -V (return code: 1)
dbd (Netatalk 2.2.6)
Usage: dbd [-e|-t|-v|-x] -d [-i] | -s [-c|-n]| -r [-c|-f] | -u <path to netatalk volume>
dbd can dump, scan, reindex and rebuild Netatalk dbd CNID databases.
dbd must be run with appropriate permissions i.e. as root.
Main commands are:
-d Dump CNID database
Option: -i dump indexes too
-s Scan volume:
1. Compare CNIDs in database with volume
2. Check if .AppleDouble dirs exist
3. Check if AppleDouble file exist
4. Report orphaned AppleDouble files
5. Check for directories inside AppleDouble directories
6. Check name encoding by roundtripping, log on error
7. Check for orphaned CNIDs in database (requires -e)
8. Open and close adouble files
Options: -c Don't check .AppleDouble stuff, only ckeck orphaned.
-n Don't open CNID database, skip CNID checks.
-r Rebuild volume:
1. Sync CNIDSs in database with volume
2. Make sure .AppleDouble dir exist, create if missing
3. Make sure AppleDouble file exists, create if missing
4. Delete orphaned AppleDouble files
5. Check for directories inside AppleDouble directories
6. Check name encoding by roundtripping, log on error
7. Check for orphaned CNIDs in database (requires -e)
8. Open and close adouble files
Options: -c Don't create .AppleDouble stuff, only cleanup orphaned.
-f wipe database and rebuild from IDs stored in AppleDouble
files, only available for volumes without 'nocnidcache'
option. Implies -e.
-u Upgrade:
Opens the database which triggers any necessary upgrades,
then closes and exits.
General options:
-e only work on inactive volumes and lock them (exclusive)
-x rebuild indexes (just for completeness, mostly useless!)
-t show statistics while running
-v verbose
WARNING:
For -r -f restore of the CNID database from the adouble files,
the CNID must of course be synched to them files first with a plain -r rebuild!
dbd --help (return code: 1)
dbd (Netatalk 2.2.6)
Usage: dbd [-e|-t|-v|-x] -d [-i] | -s [-c|-n]| -r [-c|-f] | -u <path to netatalk volume>
dbd can dump, scan, reindex and rebuild Netatalk dbd CNID databases.
dbd must be run with appropriate permissions i.e. as root.
Main commands are:
-d Dump CNID database
Option: -i dump indexes too
-s Scan volume:
1. Compare CNIDs in database with volume
2. Check if .AppleDouble dirs exist
3. Check if AppleDouble file exist
4. Report orphaned AppleDouble files
5. Check for directories inside AppleDouble directories
6. Check name encoding by roundtripping, log on error
7. Check for orphaned CNIDs in database (requires -e)
8. Open and close adouble files
Options: -c Don't check .AppleDouble stuff, only ckeck orphaned.
-n Don't open CNID database, skip CNID checks.
-r Rebuild volume:
1. Sync CNIDSs in database with volume
2. Make sure .AppleDouble dir exist, create if missing
3. Make sure AppleDouble file exists, create if missing
4. Delete orphaned AppleDouble files
5. Check for directories inside AppleDouble directories
6. Check name encoding by roundtripping, log on error
7. Check for orphaned CNIDs in database (requires -e)
8. Open and close adouble files
Options: -c Don't create .AppleDouble stuff, only cleanup orphaned.
-f wipe database and rebuild from IDs stored in AppleDouble
files, only available for volumes without 'nocnidcache'
option. Implies -e.
-u Upgrade:
Opens the database which triggers any necessary upgrades,
then closes and exits.
General options:
-e only work on inactive volumes and lock them (exclusive)
-x rebuild indexes (just for completeness, mostly useless!)
-t show statistics while running
-v verbose
WARNING:
For -r -f restore of the CNID database from the adouble files,
the CNID must of course be synched to them files first with a plain -r rebuild!