Re:Ask HN: How you manage files on your computer?
by simonblack on Wednesday February 21, 2018 @07:41PM
(#16434260)
I split files between day-to-day work and/or personal documents in the /home/user directory, and a very large partition dedicated to long-term storage which is subdivided again into various media subdirectories and/or other archived files. Long-term storage is made up of things which have to be kept, but are not written on a daily basis - so that includes stuff like media, computer program archives, archived backups, etc.
Daily backups apart from /home/user include enough information to restore the system within an hour or so in case of a system crash: so /etc/, /usr/local, list of installed packages, website, mysql databases.
The total personal storage in /home/user usually varies around 10 gigs which is backed up daily as a single unit.
The total long-term storage is currently around 3 terabytes, this also is backed-up daily (to 2 backup disks) but using rsync so that only actual daily changes are copied.
When stuff needs a date, the date is done in reverse order using only 6 digits: YYMMDD. This sorts automatically by date.
The archive partition is called /a. It has these subdirectories:
audio_music
audio_other
BAK
BAK_MONTHLY
calibre
comp
git
info
jvs_docs_monthly
mail_archive
medical
photo
print
travel
VDI
video
xs
Daily backups apart from /home/user include enough information to restore the system within an hour or so in case of a system crash: so /etc/, /usr/local, list of installed packages, website, mysql databases.
The total personal storage in /home/user usually varies around 10 gigs which is backed up daily as a single unit.
The total long-term storage is currently around 3 terabytes, this also is backed-up daily (to 2 backup disks) but using rsync so that only actual daily changes are copied.
When stuff needs a date, the date is done in reverse order using only 6 digits: YYMMDD. This sorts automatically by date.
The archive partition is called /a. It has these subdirectories:
audio_music audio_other BAK BAK_MONTHLY calibre comp git info jvs_docs_monthly mail_archive medical photo print travel VDI video xs
Each of these are subdivided further - examples:
/a/audio_music/bands/pink_floyd-dark_side_of_the_moon/dark_side_of_the_moon_03_time.flac
/a/calibre/fiction_collection/Dillinger/Jack Higgins - Dillinger (1350)/Jack Higgins - Dillinger - Dillinger.mobi
/a/comp/manuals/programming/ucsd-pascal-ii.0-user-manual-reconstruct.pdf
/a/comp/os/linux/pkgs/virtualbox-5.0_5.0.26-108824-ubuntu-trusty_amd64.deb
/a/photo/canon_2003/img_1235.jpg
/a/print/magazines/byte/1988-vol_13/198803_byte_magazine_march_1988.pdf
/a/travel/france-2011/europe2011-docs/travel/dubai_xfers_and_accommodation-nov11.pdf
/a/VDI/Windows7Laptop/win7-50gb.vdi
/a/video/doco/war/barbarossa1-politics_of_fear.flv
/a/video/music/vocal_male/elton_john-greatest_hits/216_elton_john-written_in_the_stars_ft.leann_rimes.mp4
/a/xs/aseries/A050_nse_080513/nse-30/Disks/qd/games8