PicturesBackup3 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. .\" Manpage of PicturesBackup3
  2. .\" Contact root@TOMCAT
  3. .ds APP_NAME PicturesBackup3
  4. .TH man 8 "11 Aug 2019" "0.2" "\*[APP_NAME] man page"
  5. .SH NAME
  6. \*[APP_NAME] - A custom command line File Syncing Utility
  7. .SH SYNOPSIS
  8. .B \*[APP_NAME]
  9. [-h=help] [-B=Built .tar files] [-S=Sync files from selected location to ENTERPRISE] \
  10. [-C= Cleanup] [-p=perform selected action on PiHome Directory] \
  11. [-o=Perform selected ]
  12. .SH DESCRIPTION
  13. Script takes an
  14. .B Action
  15. tag and a
  16. .B Source
  17. tag. It attempts to take the chosen action on the chosen source files. For example, -Bp would build a .tar file of the PiHome directory. -So would sync the .tar files from TOMCAT to ENTERPISE.
  18. .SH OPTIONS
  19. .TP
  20. .BR \-h
  21. Help File
  22. .TP
  23. .BR \-B
  24. Build tarbal files. Can be used with -p (PiHome) or -o (Owncloud on TOMCAT).
  25. Places the tarball on TOMCAT in /storage/backup/[PiHomeBackup] or [PiOwncloudBackup]
  26. .TP
  27. .BR \-S
  28. Syncs Files from selected sources to ENTERPRISE. Can be used with -p (PiHome), -o (Owncloud on TOMCAT), -i (Photos directory on Desktop), or -t (Phone Backup on TOMCAT).
  29. PiHome and Owncloud syncs tarballs from TOMCAT/storage/backup[PiHomeBackup] or [PiOwncloudBackup]/ to ENTERPRISE/storage/TOMCAT/
  30. Pictures syncs from Desktop Pictures folder to ENTERPRISE/Pictures. Note these are not compressed files.
  31. Phone Backup syncs from TOMCAT/storage/backup/phone/mike to ENTERPRISE/storage/backup/TOMCAT/phone/mike.
  32. Note: Phone Backup on TOMCAT is a folder containing nightly auto-backups of Android phone pictures to TOMCAT.
  33. .TP
  34. .BR \-C
  35. Cleanup. When called with a Build Tar command [-B], will retail only the latest [X] archives. Default is 10 archives.
  36. .TP
  37. .BR \-m
  38. Mounts ENTERPRISE and Desktop PC shares. Used for testing script only.
  39. .TP
  40. .BR \-u
  41. Unmounts ENTERPRISE and Desktop PC shares. Used for testing script only.
  42. .TP
  43. .BR \-s
  44. Silent mode. Supresses output. Feature is in testing phase only.
  45. .TP
  46. .BR \-v
  47. Verbose mode. Show debuggingon screen. Feature is in testign phase only.
  48. .TP
  49. .BR \-T
  50. Testing Mode. Simulates Builds, Syncs, and Cleanups. No action performed. This mode implies Verbose mode.
  51. .TP
  52. .BR \-V
  53. Verbose mode. Increases output to command line with actiosn peformed. Useful for debugging.
  54. .SH SEE ALSO
  55. .SH BUGS
  56. .SH NEEDED UPGRADES
  57. Incorporate calls to WOL package
  58. -See if needed server is online
  59. -if not, WOL and recheck
  60. -When exiting script, shut down uneeded servers after a delay to ensure they aren't needed again.
  61. Cleanup Routine
  62. .SH AUTHOR
  63. Mike Stagl