Пожалуйста, определите более продвинутый, ssh обладает невероятным количеством функций: Безопасная удаленная оболочка (очевидно) Безопасная удаленная копия (scp) Portforwarding (-L) Пересылка прокси-серверов Socks proxy (-D) и многое другое.
Пожалуйста, опишите, что вам не хватает
Я недавно занимался этим, и я заметил, что многие из файлов в моем домашнем каталоге, которые я не хочу создавать, похоже, не имеют групповых разрешений. Если то же самое относится к другим системам, то вероятный список подозреваемых может быть получен с помощью:
find ~ -not -perm -g+r
(Хотя проверьте вывод, потому что, хотя мой показался в основном хорошим, мой почтовый ящик электронной почты также появился на список, и я не знаю, как хорошо он будет работать для других.)
Это особенно привлекательно для меня, потому что мой домашний каталог зашифрован (включая имена файлов), поэтому список исключений для руководства будет PITA, и вместо этого я должен иметь возможность использовать групповые разрешения для автоматического создания списка исключений.
(Я знаю, что поток старый, но я думал, что это может быть полезно кому-то.)
Большинство этих файлов и каталогов воссоздаются, если они отсутствуют. Они в основном предназначены для снижения времени запуска приложения (кеши расширения Firefox), указания блокировок (.gksu.lock) или содержащих информацию, относящуюся к сеансу (например, идентификатор сеанса dbus). Недавние документы часто меняются и обычно не подходят для резервного копирования.
Эти каталоги могут быть исключены:
.gvfs # contains mounted file systems?
.local/share/gvfs-metadata
.Private # contains the actual encrypted home directory
.dbus # session-specific
.cache
.Trash # do I need to say more?
.local/share/Trash
.cddb # cached info about audio CDs
.aptitude # cached packages lists
Специфичный для Flash:
.adobe # Cache for flash, maybe others?
.macromedia # except for Flash persistence, there is no reason to keep this
Файлы:
.xsession-errors # contains errors from the current graphical session
.recently-used # recently used files
.recently-used.xbel
.thumbnails
.Xauthority # session-specific
.ICEauthority
.gksu.lock
.pulse # directory
.pulse-cookie
.esd_auth
Спецификация KDE:
.kde/share/apps/RecentDocuments # Recent documents on KDE
.kde/share/apps/klipper # Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/okular/docdata # you will loose saved scrolling positions of PDFs
.kde/share/apps/gwenview/recentfolders
.kde/share/apps/kmess/displaypics # cached other users' profile pics
.kde/share/apps/kmess/customemoticons # cached emoticons of others
Специфическая для Firefox (см. Также папку профиля):
.mozilla/firefox/*/Cache
.mozilla/firefox/*/minidumps # in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/.parentlock # session-specific
.mozilla/firefox/*/urlclassifier3.sqlite # phishing database, recreated
.mozilla/firefox/*/blocklist.xml # blacklisted extensions
.mozilla/firefox/*/extensions.sqlite # extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
.mozilla/firefox/*/XUL.mfasl # cached UI data, recreated
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
Операционная вопрос на Superuser.com: Папка профиля ):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
Комодо Редактировать:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
Другие приложения:
.pulse/icons # Pidgin
.java/deployment/cache # Cached applets
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
.dropbox # to avoid problems, let Dropbox re-create these
.dropbox-dist
Я создал неверующий на https://github.com/rubo77/rsync-homedir-excludes
Вы можете использовать его с Duplicity или rsync, например:
rsync -aP --exclude-from=rsync-homedir-excludes.txt /home/$USER/ /media/$USER/linuxbackup/home/$USER/
это регулярно обновляется, на данный момент у нас есть это:
################################################
# These directories may definitely be excluded #
################################################
# Contains mounted file systems:
.gvfs
.local/share/gvfs-metadata
# contains the actual encrypted home directory
/.Private
# Session-specific:
/.dbus
/.cache
/.Trash
.Trash-1*
.local/share/Trash
/Trash
# Cached info about audio CDs:
.cddb
# Cached packages lists:
.aptitude
# Node Package Manager cache
.npm
#Flash-specific:
# Cache for flash, maybe others?
.adobe
# except for Flash persistence, there is no reason to keep this
.macromedia
#Files:
# Contains errors from the current graphical session
.xsession-errors
.wayland-errors
# Recently used files
.local/share/RecentDocuments
.recently-used
.recently-used.xbel
.thumbnails
.thumb
Thumbs.db
.DS_Store
.localised
.bash_history
.CFUserTextEncoding
# Common Unix Printing System
/.cups
# run-time configuration information for Subversion
/.subversion
# Python virtual environments
/.virtualenvs
# Session-specific
.Xauthority
.ICEauthority
.gksu.lock
.pulse
.pulse-cookie
.esd_auth
#KDE specific:
# Recent documents on KDE
.kde/share/apps/RecentDocuments
.kde4/share/apps/RecentDocuments
# Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/klipper
.kde4/share/apps/klipper
# You will loose saved scrolling positions of PDFs
.kde/share/apps/okular/docdata
.kde/share/apps/gwenview/recentfolders
.kde4/share/apps/okular/docdata
.kde4/share/apps/gwenview/recentfolders
# Cached other users' profile pics
.kde/share/apps/kmess/displaypics
.kde4/share/apps/kmess/displaypics
# Cached emoticons of others
.kde/share/apps/kmess/customemoticons
.kde4/share/apps/kmess/customemoticons
#Firefox-specific (see also Profile folder):
.mozilla/firefox/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/minidumps
# session-specific
.mozilla/firefox/*/.parentlock
# phishing database, recreated
.mozilla/firefox/*/urlclassifier3.sqlite
# blacklisted extensions
.mozilla/firefox/*/blocklist.xml
# extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
# cached UI data, recreated
.mozilla/firefox/*/XUL.mfasl
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
# cached plugin data, recreated
.mozilla/firefox/*/pluginreg.dat
#SeaMonkey-specific (see also Profile folder):
.mozilla/seamonkey/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/seamonkey/*/minidumps
# session-specific
.mozilla/seamonkey/*/.parentlock
# blacklisted extensions
.mozilla/seamonkey/*/blocklist.xml
# extension database, recreated on startup
.mozilla/seamonkey/*/extensions.sqlite
.mozilla/seamonkey/*/extensions.rdf
.mozilla/seamonkey/*/extensions.ini
# cached UI data, recreated
.mozilla/seamonkey/*/xpti.dat
.mozilla/seamonkey/*/compreg.dat
# cached plugin data, recreated
.mozilla/seamonkey/*/pluginreg.dat
# Thunderbird Cache in your profile folder
.thunderbird/*/Cache
#Opera-specific (related question on Superuser.com: Is documentation available on files and directories in the Opera profile folder?):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
# Keychain dir (manage SSH and GPG keys, front-end to ssh-agent and ssh-add)
/.keychain
#Komodo Edit:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
#GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
#Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
#Chromium:
.config/chromium/Default/Local Storage
.config/chromium/Default/Session Storage
.config/chromium/Default/Application Cache
.config/chromium/Default/History Index *
#Local repositories (added by errantlinguist on 2015-04-13):
.gradle/caches
/.m2/repository
#indexer
.local/share/baloo
.local/share/zeitgeist
.local/share/akonadi
#Other apps:
# Pidgin
.pulse/icons
# Cached applets
.guayadeque/cache.db
.java/deployment/cache
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
# other temporary files
nohup.out
###############################################
# directories, probably not worth a backup #
# (uncomment the files you don't need) #
###############################################
#.android
#.AndroidStudio*/
#Android/Sdk
#.gradle
#.gvm
#.grails/
#.grails_history
#.kde/share/apps/nepomuk
#.local/share/notbit
#.local/libvirt
#.vagrant
#.vagrant.d
#.wine
#.twister
#/twister
#Applications/eclipse*
#/Downloads
#*Popcorntime*
#/Scribus
#/VirtualBox*
#
## Add Game Folders here:
#
#/games
#.local/share/Steam
#.steam
#Steam
#.minecraft
#.PlayOnLinux
Хороший вопрос. Мне это нравится - там, где мы можем собирать входные данные / списки и вишневые подборки. Вот мой файл .exclude. Я передаю этот файл в rsync как параметр --exclude-file= в нескольких сценариях (что вы также можете сделать с двуличностью). Обратите внимание, что вопрос подразумевает «что вам нужно / нужно сохранить». Например, я создаю резервную копию моего полного .mozilla DIR, поскольку он содержит несколько профилей и настроек, и проще сбрасывать их обратно на диск в целом. Также подразумевается в моей конфигурации: я делаю много «строить с нуля» для тестирования. Таким образом, у меня есть образ клонэзиллы с хорошо известной базой, и я добавляю в свои личные (/ домашние) данные, хранящиеся на USB после того, как он находится на диске; иногда выборочно, иногда в целом.
# Filename: admin/dotfiles/exclude
# Create Date: 20110307-23:36HRS
# ln -s admin/dotfiles/exclude ~/.exclude
.cache
.adobe
.aptitude
.compiz # no settings here; processes
.dbus
.dropbox # don't try to restore and reinitialize either of
.dropbox-dist # these DIRs; very messy results can happen
.elegant-gnome-backup
.fontconfig
.gnome2_private # MT; at least on my system
.pulse*
.gconfd
.gvfs
.macromedia
.local/share/Trash/
.thumbnails
Downloads/
Dropbox/ # recreated on re-initialization
Public/
Music/
Templates/ # stored on U1
Ubuntu One/ # recreated on re-initialization
wdir/iso/
wdir/backups/
Я недавно занимался этим, и я заметил, что многие из файлов в моем домашнем каталоге, которые я не хочу создавать, похоже, не имеют групповых разрешений. Если то же самое относится к другим системам, то вероятный список подозреваемых может быть получен с помощью:
find ~ -not -perm -g+r
(Хотя проверьте вывод, потому что, хотя мой показался в основном хорошим, мой почтовый ящик электронной почты также появился на список, и я не знаю, как хорошо он будет работать для других.)
Это особенно привлекательно для меня, потому что мой домашний каталог зашифрован (включая имена файлов), поэтому список исключений для руководства будет PITA, и вместо этого я должен иметь возможность использовать групповые разрешения для автоматического создания списка исключений.
(Я знаю, что поток старый, но я думал, что это может быть полезно кому-то.)
Большинство этих файлов и каталогов воссоздаются, если они отсутствуют. Они в основном предназначены для снижения времени запуска приложения (кеши расширения Firefox), указания блокировок (.gksu.lock) или содержащих информацию, относящуюся к сеансу (например, идентификатор сеанса dbus). Недавние документы часто меняются и обычно не подходят для резервного копирования.
Эти каталоги могут быть исключены:
.gvfs # contains mounted file systems?
.local/share/gvfs-metadata
.Private # contains the actual encrypted home directory
.dbus # session-specific
.cache
.Trash # do I need to say more?
.local/share/Trash
.cddb # cached info about audio CDs
.aptitude # cached packages lists
Специфичный для Flash:
.adobe # Cache for flash, maybe others?
.macromedia # except for Flash persistence, there is no reason to keep this
Файлы:
.xsession-errors # contains errors from the current graphical session
.recently-used # recently used files
.recently-used.xbel
.thumbnails
.Xauthority # session-specific
.ICEauthority
.gksu.lock
.pulse # directory
.pulse-cookie
.esd_auth
Спецификация KDE:
.kde/share/apps/RecentDocuments # Recent documents on KDE
.kde/share/apps/klipper # Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/okular/docdata # you will loose saved scrolling positions of PDFs
.kde/share/apps/gwenview/recentfolders
.kde/share/apps/kmess/displaypics # cached other users' profile pics
.kde/share/apps/kmess/customemoticons # cached emoticons of others
Специфическая для Firefox (см. Также папку профиля):
.mozilla/firefox/*/Cache
.mozilla/firefox/*/minidumps # in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/.parentlock # session-specific
.mozilla/firefox/*/urlclassifier3.sqlite # phishing database, recreated
.mozilla/firefox/*/blocklist.xml # blacklisted extensions
.mozilla/firefox/*/extensions.sqlite # extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
.mozilla/firefox/*/XUL.mfasl # cached UI data, recreated
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
Операционная вопрос на Superuser.com: Папка профиля ):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
Комодо Редактировать:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
Другие приложения:
.pulse/icons # Pidgin
.java/deployment/cache # Cached applets
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
.dropbox # to avoid problems, let Dropbox re-create these
.dropbox-dist
Я создал неверующий на https://github.com/rubo77/rsync-homedir-excludes
Вы можете использовать его с Duplicity или rsync, например:
rsync -aP --exclude-from=rsync-homedir-excludes.txt /home/$USER/ /media/$USER/linuxbackup/home/$USER/
это регулярно обновляется, на данный момент у нас есть это:
################################################
# These directories may definitely be excluded #
################################################
# Contains mounted file systems:
.gvfs
.local/share/gvfs-metadata
# contains the actual encrypted home directory
/.Private
# Session-specific:
/.dbus
/.cache
/.Trash
.Trash-1*
.local/share/Trash
/Trash
# Cached info about audio CDs:
.cddb
# Cached packages lists:
.aptitude
# Node Package Manager cache
.npm
#Flash-specific:
# Cache for flash, maybe others?
.adobe
# except for Flash persistence, there is no reason to keep this
.macromedia
#Files:
# Contains errors from the current graphical session
.xsession-errors
.wayland-errors
# Recently used files
.local/share/RecentDocuments
.recently-used
.recently-used.xbel
.thumbnails
.thumb
Thumbs.db
.DS_Store
.localised
.bash_history
.CFUserTextEncoding
# Common Unix Printing System
/.cups
# run-time configuration information for Subversion
/.subversion
# Python virtual environments
/.virtualenvs
# Session-specific
.Xauthority
.ICEauthority
.gksu.lock
.pulse
.pulse-cookie
.esd_auth
#KDE specific:
# Recent documents on KDE
.kde/share/apps/RecentDocuments
.kde4/share/apps/RecentDocuments
# Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/klipper
.kde4/share/apps/klipper
# You will loose saved scrolling positions of PDFs
.kde/share/apps/okular/docdata
.kde/share/apps/gwenview/recentfolders
.kde4/share/apps/okular/docdata
.kde4/share/apps/gwenview/recentfolders
# Cached other users' profile pics
.kde/share/apps/kmess/displaypics
.kde4/share/apps/kmess/displaypics
# Cached emoticons of others
.kde/share/apps/kmess/customemoticons
.kde4/share/apps/kmess/customemoticons
#Firefox-specific (see also Profile folder):
.mozilla/firefox/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/minidumps
# session-specific
.mozilla/firefox/*/.parentlock
# phishing database, recreated
.mozilla/firefox/*/urlclassifier3.sqlite
# blacklisted extensions
.mozilla/firefox/*/blocklist.xml
# extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
# cached UI data, recreated
.mozilla/firefox/*/XUL.mfasl
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
# cached plugin data, recreated
.mozilla/firefox/*/pluginreg.dat
#SeaMonkey-specific (see also Profile folder):
.mozilla/seamonkey/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/seamonkey/*/minidumps
# session-specific
.mozilla/seamonkey/*/.parentlock
# blacklisted extensions
.mozilla/seamonkey/*/blocklist.xml
# extension database, recreated on startup
.mozilla/seamonkey/*/extensions.sqlite
.mozilla/seamonkey/*/extensions.rdf
.mozilla/seamonkey/*/extensions.ini
# cached UI data, recreated
.mozilla/seamonkey/*/xpti.dat
.mozilla/seamonkey/*/compreg.dat
# cached plugin data, recreated
.mozilla/seamonkey/*/pluginreg.dat
# Thunderbird Cache in your profile folder
.thunderbird/*/Cache
#Opera-specific (related question on Superuser.com: Is documentation available on files and directories in the Opera profile folder?):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
# Keychain dir (manage SSH and GPG keys, front-end to ssh-agent and ssh-add)
/.keychain
#Komodo Edit:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
#GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
#Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
#Chromium:
.config/chromium/Default/Local Storage
.config/chromium/Default/Session Storage
.config/chromium/Default/Application Cache
.config/chromium/Default/History Index *
#Local repositories (added by errantlinguist on 2015-04-13):
.gradle/caches
/.m2/repository
#indexer
.local/share/baloo
.local/share/zeitgeist
.local/share/akonadi
#Other apps:
# Pidgin
.pulse/icons
# Cached applets
.guayadeque/cache.db
.java/deployment/cache
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
# other temporary files
nohup.out
###############################################
# directories, probably not worth a backup #
# (uncomment the files you don't need) #
###############################################
#.android
#.AndroidStudio*/
#Android/Sdk
#.gradle
#.gvm
#.grails/
#.grails_history
#.kde/share/apps/nepomuk
#.local/share/notbit
#.local/libvirt
#.vagrant
#.vagrant.d
#.wine
#.twister
#/twister
#Applications/eclipse*
#/Downloads
#*Popcorntime*
#/Scribus
#/VirtualBox*
#
## Add Game Folders here:
#
#/games
#.local/share/Steam
#.steam
#Steam
#.minecraft
#.PlayOnLinux
Хороший вопрос. Мне это нравится - там, где мы можем собирать входные данные / списки и вишневые подборки. Вот мой файл .exclude. Я передаю этот файл в rsync как параметр --exclude-file= в нескольких сценариях (что вы также можете сделать с двуличностью). Обратите внимание, что вопрос подразумевает «что вам нужно / нужно сохранить». Например, я создаю резервную копию моего полного .mozilla DIR, поскольку он содержит несколько профилей и настроек, и проще сбрасывать их обратно на диск в целом. Также подразумевается в моей конфигурации: я делаю много «строить с нуля» для тестирования. Таким образом, у меня есть образ клонэзиллы с хорошо известной базой, и я добавляю в свои личные (/ домашние) данные, хранящиеся на USB после того, как он находится на диске; иногда выборочно, иногда в целом.
# Filename: admin/dotfiles/exclude
# Create Date: 20110307-23:36HRS
# ln -s admin/dotfiles/exclude ~/.exclude
.cache
.adobe
.aptitude
.compiz # no settings here; processes
.dbus
.dropbox # don't try to restore and reinitialize either of
.dropbox-dist # these DIRs; very messy results can happen
.elegant-gnome-backup
.fontconfig
.gnome2_private # MT; at least on my system
.pulse*
.gconfd
.gvfs
.macromedia
.local/share/Trash/
.thumbnails
Downloads/
Dropbox/ # recreated on re-initialization
Public/
Music/
Templates/ # stored on U1
Ubuntu One/ # recreated on re-initialization
wdir/iso/
wdir/backups/
Я недавно занимался этим, и я заметил, что многие из файлов в моем домашнем каталоге, которые я не хочу создавать, похоже, не имеют групповых разрешений. Если то же самое относится к другим системам, то вероятный список подозреваемых может быть получен с помощью:
find ~ -not -perm -g+r
(Хотя проверьте вывод, потому что, хотя мой показался в основном хорошим, мой почтовый ящик электронной почты также появился на список, и я не знаю, как хорошо он будет работать для других.)
Это особенно привлекательно для меня, потому что мой домашний каталог зашифрован (включая имена файлов), поэтому список исключений для руководства будет PITA, и вместо этого я должен иметь возможность использовать групповые разрешения для автоматического создания списка исключений.
(Я знаю, что поток старый, но я думал, что это может быть полезно кому-то.)
Большинство этих файлов и каталогов воссоздаются, если они отсутствуют. Они в основном предназначены для снижения времени запуска приложения (кеши расширения Firefox), указания блокировок (.gksu.lock) или содержащих информацию, относящуюся к сеансу (например, идентификатор сеанса dbus). Недавние документы часто меняются и обычно не подходят для резервного копирования.
Эти каталоги могут быть исключены:
.gvfs # contains mounted file systems?
.local/share/gvfs-metadata
.Private # contains the actual encrypted home directory
.dbus # session-specific
.cache
.Trash # do I need to say more?
.local/share/Trash
.cddb # cached info about audio CDs
.aptitude # cached packages lists
Специфичный для Flash:
.adobe # Cache for flash, maybe others?
.macromedia # except for Flash persistence, there is no reason to keep this
Файлы:
.xsession-errors # contains errors from the current graphical session
.recently-used # recently used files
.recently-used.xbel
.thumbnails
.Xauthority # session-specific
.ICEauthority
.gksu.lock
.pulse # directory
.pulse-cookie
.esd_auth
Спецификация KDE:
.kde/share/apps/RecentDocuments # Recent documents on KDE
.kde/share/apps/klipper # Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/okular/docdata # you will loose saved scrolling positions of PDFs
.kde/share/apps/gwenview/recentfolders
.kde/share/apps/kmess/displaypics # cached other users' profile pics
.kde/share/apps/kmess/customemoticons # cached emoticons of others
Специфическая для Firefox (см. Также папку профиля):
.mozilla/firefox/*/Cache
.mozilla/firefox/*/minidumps # in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/.parentlock # session-specific
.mozilla/firefox/*/urlclassifier3.sqlite # phishing database, recreated
.mozilla/firefox/*/blocklist.xml # blacklisted extensions
.mozilla/firefox/*/extensions.sqlite # extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
.mozilla/firefox/*/XUL.mfasl # cached UI data, recreated
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
Операционная вопрос на Superuser.com: Папка профиля ):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
Комодо Редактировать:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
Другие приложения:
.pulse/icons # Pidgin
.java/deployment/cache # Cached applets
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
.dropbox # to avoid problems, let Dropbox re-create these
.dropbox-dist
Я создал неверующий на https://github.com/rubo77/rsync-homedir-excludes
Вы можете использовать его с Duplicity или rsync, например:
rsync -aP --exclude-from=rsync-homedir-excludes.txt /home/$USER/ /media/$USER/linuxbackup/home/$USER/
это регулярно обновляется, на данный момент у нас есть это:
################################################
# These directories may definitely be excluded #
################################################
# Contains mounted file systems:
.gvfs
.local/share/gvfs-metadata
# contains the actual encrypted home directory
/.Private
# Session-specific:
/.dbus
/.cache
/.Trash
.Trash-1*
.local/share/Trash
/Trash
# Cached info about audio CDs:
.cddb
# Cached packages lists:
.aptitude
# Node Package Manager cache
.npm
#Flash-specific:
# Cache for flash, maybe others?
.adobe
# except for Flash persistence, there is no reason to keep this
.macromedia
#Files:
# Contains errors from the current graphical session
.xsession-errors
.wayland-errors
# Recently used files
.local/share/RecentDocuments
.recently-used
.recently-used.xbel
.thumbnails
.thumb
Thumbs.db
.DS_Store
.localised
.bash_history
.CFUserTextEncoding
# Common Unix Printing System
/.cups
# run-time configuration information for Subversion
/.subversion
# Python virtual environments
/.virtualenvs
# Session-specific
.Xauthority
.ICEauthority
.gksu.lock
.pulse
.pulse-cookie
.esd_auth
#KDE specific:
# Recent documents on KDE
.kde/share/apps/RecentDocuments
.kde4/share/apps/RecentDocuments
# Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/klipper
.kde4/share/apps/klipper
# You will loose saved scrolling positions of PDFs
.kde/share/apps/okular/docdata
.kde/share/apps/gwenview/recentfolders
.kde4/share/apps/okular/docdata
.kde4/share/apps/gwenview/recentfolders
# Cached other users' profile pics
.kde/share/apps/kmess/displaypics
.kde4/share/apps/kmess/displaypics
# Cached emoticons of others
.kde/share/apps/kmess/customemoticons
.kde4/share/apps/kmess/customemoticons
#Firefox-specific (see also Profile folder):
.mozilla/firefox/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/minidumps
# session-specific
.mozilla/firefox/*/.parentlock
# phishing database, recreated
.mozilla/firefox/*/urlclassifier3.sqlite
# blacklisted extensions
.mozilla/firefox/*/blocklist.xml
# extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
# cached UI data, recreated
.mozilla/firefox/*/XUL.mfasl
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
# cached plugin data, recreated
.mozilla/firefox/*/pluginreg.dat
#SeaMonkey-specific (see also Profile folder):
.mozilla/seamonkey/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/seamonkey/*/minidumps
# session-specific
.mozilla/seamonkey/*/.parentlock
# blacklisted extensions
.mozilla/seamonkey/*/blocklist.xml
# extension database, recreated on startup
.mozilla/seamonkey/*/extensions.sqlite
.mozilla/seamonkey/*/extensions.rdf
.mozilla/seamonkey/*/extensions.ini
# cached UI data, recreated
.mozilla/seamonkey/*/xpti.dat
.mozilla/seamonkey/*/compreg.dat
# cached plugin data, recreated
.mozilla/seamonkey/*/pluginreg.dat
# Thunderbird Cache in your profile folder
.thunderbird/*/Cache
#Opera-specific (related question on Superuser.com: Is documentation available on files and directories in the Opera profile folder?):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
# Keychain dir (manage SSH and GPG keys, front-end to ssh-agent and ssh-add)
/.keychain
#Komodo Edit:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
#GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
#Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
#Chromium:
.config/chromium/Default/Local Storage
.config/chromium/Default/Session Storage
.config/chromium/Default/Application Cache
.config/chromium/Default/History Index *
#Local repositories (added by errantlinguist on 2015-04-13):
.gradle/caches
/.m2/repository
#indexer
.local/share/baloo
.local/share/zeitgeist
.local/share/akonadi
#Other apps:
# Pidgin
.pulse/icons
# Cached applets
.guayadeque/cache.db
.java/deployment/cache
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
# other temporary files
nohup.out
###############################################
# directories, probably not worth a backup #
# (uncomment the files you don't need) #
###############################################
#.android
#.AndroidStudio*/
#Android/Sdk
#.gradle
#.gvm
#.grails/
#.grails_history
#.kde/share/apps/nepomuk
#.local/share/notbit
#.local/libvirt
#.vagrant
#.vagrant.d
#.wine
#.twister
#/twister
#Applications/eclipse*
#/Downloads
#*Popcorntime*
#/Scribus
#/VirtualBox*
#
## Add Game Folders here:
#
#/games
#.local/share/Steam
#.steam
#Steam
#.minecraft
#.PlayOnLinux
Хороший вопрос. Мне это нравится - там, где мы можем собирать входные данные / списки и вишневые подборки. Вот мой файл .exclude. Я передаю этот файл в rsync как параметр --exclude-file= в нескольких сценариях (что вы также можете сделать с двуличностью). Обратите внимание, что вопрос подразумевает «что вам нужно / нужно сохранить». Например, я создаю резервную копию моего полного .mozilla DIR, поскольку он содержит несколько профилей и настроек, и проще сбрасывать их обратно на диск в целом. Также подразумевается в моей конфигурации: я делаю много «строить с нуля» для тестирования. Таким образом, у меня есть образ клонэзиллы с хорошо известной базой, и я добавляю в свои личные (/ домашние) данные, хранящиеся на USB после того, как он находится на диске; иногда выборочно, иногда в целом.
# Filename: admin/dotfiles/exclude
# Create Date: 20110307-23:36HRS
# ln -s admin/dotfiles/exclude ~/.exclude
.cache
.adobe
.aptitude
.compiz # no settings here; processes
.dbus
.dropbox # don't try to restore and reinitialize either of
.dropbox-dist # these DIRs; very messy results can happen
.elegant-gnome-backup
.fontconfig
.gnome2_private # MT; at least on my system
.pulse*
.gconfd
.gvfs
.macromedia
.local/share/Trash/
.thumbnails
Downloads/
Dropbox/ # recreated on re-initialization
Public/
Music/
Templates/ # stored on U1
Ubuntu One/ # recreated on re-initialization
wdir/iso/
wdir/backups/
Я недавно занимался этим, и я заметил, что многие из файлов в моем домашнем каталоге, которые я не хочу создавать, похоже, не имеют групповых разрешений. Если то же самое относится к другим системам, то вероятный список подозреваемых может быть получен с помощью:
find ~ -not -perm -g+r
(Хотя проверьте вывод, потому что, хотя мой показался в основном хорошим, мой почтовый ящик электронной почты также появился на список, и я не знаю, как хорошо он будет работать для других.)
Это особенно привлекательно для меня, потому что мой домашний каталог зашифрован (включая имена файлов), поэтому список исключений для руководства будет PITA, и вместо этого я должен иметь возможность использовать групповые разрешения для автоматического создания списка исключений.
(Я знаю, что поток старый, но я думал, что это может быть полезно кому-то.)
Я создал неверующий на https://github.com/rubo77/rsync-homedir-excludes
Вы можете использовать его с Duplicity или rsync, например:
rsync -aP --exclude-from=rsync-homedir-excludes.txt /home/$USER/ /media/$USER/linuxbackup/home/$USER/
это регулярно обновляется, на данный момент у нас есть это:
################################################
# These directories may definitely be excluded #
################################################
# Contains mounted file systems:
.gvfs
.local/share/gvfs-metadata
# contains the actual encrypted home directory
/.Private
# Session-specific:
/.dbus
/.cache
/.Trash
.Trash-1*
.local/share/Trash
/Trash
# Cached info about audio CDs:
.cddb
# Cached packages lists:
.aptitude
# Node Package Manager cache
.npm
#Flash-specific:
# Cache for flash, maybe others?
.adobe
# except for Flash persistence, there is no reason to keep this
.macromedia
#Files:
# Contains errors from the current graphical session
.xsession-errors
.wayland-errors
# Recently used files
.local/share/RecentDocuments
.recently-used
.recently-used.xbel
.thumbnails
.thumb
Thumbs.db
.DS_Store
.localised
.bash_history
.CFUserTextEncoding
# Common Unix Printing System
/.cups
# run-time configuration information for Subversion
/.subversion
# Python virtual environments
/.virtualenvs
# Session-specific
.Xauthority
.ICEauthority
.gksu.lock
.pulse
.pulse-cookie
.esd_auth
#KDE specific:
# Recent documents on KDE
.kde/share/apps/RecentDocuments
.kde4/share/apps/RecentDocuments
# Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/klipper
.kde4/share/apps/klipper
# You will loose saved scrolling positions of PDFs
.kde/share/apps/okular/docdata
.kde/share/apps/gwenview/recentfolders
.kde4/share/apps/okular/docdata
.kde4/share/apps/gwenview/recentfolders
# Cached other users' profile pics
.kde/share/apps/kmess/displaypics
.kde4/share/apps/kmess/displaypics
# Cached emoticons of others
.kde/share/apps/kmess/customemoticons
.kde4/share/apps/kmess/customemoticons
#Firefox-specific (see also Profile folder):
.mozilla/firefox/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/minidumps
# session-specific
.mozilla/firefox/*/.parentlock
# phishing database, recreated
.mozilla/firefox/*/urlclassifier3.sqlite
# blacklisted extensions
.mozilla/firefox/*/blocklist.xml
# extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
# cached UI data, recreated
.mozilla/firefox/*/XUL.mfasl
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
# cached plugin data, recreated
.mozilla/firefox/*/pluginreg.dat
#SeaMonkey-specific (see also Profile folder):
.mozilla/seamonkey/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/seamonkey/*/minidumps
# session-specific
.mozilla/seamonkey/*/.parentlock
# blacklisted extensions
.mozilla/seamonkey/*/blocklist.xml
# extension database, recreated on startup
.mozilla/seamonkey/*/extensions.sqlite
.mozilla/seamonkey/*/extensions.rdf
.mozilla/seamonkey/*/extensions.ini
# cached UI data, recreated
.mozilla/seamonkey/*/xpti.dat
.mozilla/seamonkey/*/compreg.dat
# cached plugin data, recreated
.mozilla/seamonkey/*/pluginreg.dat
# Thunderbird Cache in your profile folder
.thunderbird/*/Cache
#Opera-specific (related question on Superuser.com: Is documentation available on files and directories in the Opera profile folder?):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
# Keychain dir (manage SSH and GPG keys, front-end to ssh-agent and ssh-add)
/.keychain
#Komodo Edit:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
#GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
#Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
#Chromium:
.config/chromium/Default/Local Storage
.config/chromium/Default/Session Storage
.config/chromium/Default/Application Cache
.config/chromium/Default/History Index *
#Local repositories (added by errantlinguist on 2015-04-13):
.gradle/caches
/.m2/repository
#indexer
.local/share/baloo
.local/share/zeitgeist
.local/share/akonadi
#Other apps:
# Pidgin
.pulse/icons
# Cached applets
.guayadeque/cache.db
.java/deployment/cache
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
# other temporary files
nohup.out
###############################################
# directories, probably not worth a backup #
# (uncomment the files you don't need) #
###############################################
#.android
#.AndroidStudio*/
#Android/Sdk
#.gradle
#.gvm
#.grails/
#.grails_history
#.kde/share/apps/nepomuk
#.local/share/notbit
#.local/libvirt
#.vagrant
#.vagrant.d
#.wine
#.twister
#/twister
#Applications/eclipse*
#/Downloads
#*Popcorntime*
#/Scribus
#/VirtualBox*
#
## Add Game Folders here:
#
#/games
#.local/share/Steam
#.steam
#Steam
#.minecraft
#.PlayOnLinux
Большинство этих файлов и каталогов воссоздаются, если они отсутствуют. Они в основном предназначены для снижения времени запуска приложения (кеши расширения Firefox), указав блокировки ( .gksu.lock
) или содержащие информацию, относящуюся к сеансу (например, идентификатор сеанса dbus). Недавние документы часто меняются и обычно не подходят для резервного копирования.
Эти каталоги могут быть исключены:
.gvfs # содержит смонтированные файловые системы? .local / share / gvfs-metadata .Private # содержит фактический зашифрованный домашний каталог .dbus # для конкретного сеанса .cache .Trash # мне нужно сказать больше? .local / share / Trash .cddb # кэшированная информация об аудиокомпаниях .aptitude # списки кэшированных пакетов
Флеш-специфический:
.adobe # Кэш для вспышка, может быть, другие? .macromedia #, за исключением сохранения настойчивости Flash, нет причин для сохранения этого
Файлы:
.xsession-errors # содержит ошибки из текущего графического сеанса .recently-used # недавно использованные файлы .recently-used.xbel .thumbnails. Xauthority # session-specific .ICEauthority .gksu.lock .pulse # .pulse-cookie .esd_auth
KDE специфический:
.kde / share / apps / RecentDocuments # Недавние документы в KDE .kde / share / apps / klipper # Содержит историю клипбола Klipper (KDE) .kde / share / apps / okular / docdata # вы потеряете сохраненные позиции прокрутки PDF-файлов .kde / share / apps / gwenview / recentfolders .kde / share / apps / kmess / displaypics # кэшированные фотографии профилей других пользователей .kde / share / apps / kmess / customemoticons # cached emoticons of others
Firefox-specific (см. также Папка профиля ):
.mozilla / firefox / * / Cache .mozilla / firefox / * / minidumps # в случае, если Fx сбрасывает дампы, будет храниться в этом .mozilla / firefox / * /. P arentlock # session-specific .mozilla / firefox / * / urlclassifier3.sqlite # фишинг-база данных, воссозданная .mozilla / firefox / * / blocklist.xml # черный список расширений .mozilla / firefox / * / extensions.sqlite # база данных расширений, воссозданная при запуске .mozilla / firefox / * / extensions.sqlite-journal .mozilla / firefox / * / extensions.rdf .mozilla / firefox / * / extensions.ini .mozilla / firefox / * / extensions.cache .mozilla / firefox / * / XUL .mfasl # кэшированные данные пользовательского интерфейса, воссозданные .mozilla / firefox / * / XPC.mfasl .mozilla / firefox / * / xpti.dat .mozilla / firefox / * / compreg.dat
Опера -специфический (связанный с этим вопрос на Superuser.com: Доступна ли документация в файлах и каталогах в папке профиля Opera? ):
.opera / tempor_downloads .opera / cache .opera / thumbnails .opera / opcache .opera / icons .opera / application_cache .opera / widgets / * / cache .opera / lock
Komodo Edit : [ ! d21]
.komodoedit / * / codeintel / db .komodoedit / * / host - * / * / codeintel .komodoedit / * / XRE / Cache .komodo edit / * / XRE / .activatestate / komodo edit / Crash Reports .komodoedit / * / XRE / .activatestate / komodo edit / * / Cache .komodoedit / * / XRE / .activatestate / komodo edit / * / minidump .komodoedit / * /XRE/.parentlock .komodoedit / * / XRE / extensions.rdf .komodoedit / * / XRE / extensions.ini .komodoedit / * / XRE / extensions.cache .komodoedit / * / XRE / XPC.mfasl .komodoedit / * / XRE / XUL.mfasl .komodoedit / * / XRE / xpti.dat .komodoedit / * / XRE / pluginreg.dat .komodoedit / * / XRE / compreg.dat .komodoedit / * / XRE / *. Sqlite-journal .komodoedit / * / pystdout.log .komodoedit / * / pystderr.log .komodoedit / * / history.sqlite.bak .komodoedit / * / running.lock .komodoedit / * / mutex.lock .komodoedit / * / *. xmlc .komodoedit / * / startup-env.tmp .komoeoedit / * / commandments.fifo .komoeoedit / * / history.sqlite
GnuPG:
.gnupg / rnd .gnupg / random_seed .gnupg /.#* .gnupg / *. lock .gnupg / gpg-agent-info- *
Google Chrome:
.config / google-chrome / Default / Local Storage .config / google-chrome / хранилище по умолчанию / сеанс .config / google-chr ome / Default / Application Cache .config / google-chrome / индекс по умолчанию / история *
Другие приложения:
.pulse / icons # Pidgin .java / deploy / cache # Кэшированные апплеты .icedteaplugin .icedtea .gnome2 / epiphany / favicon_cache .dropbox #, чтобы избежать проблем, пусть Dropbox воссоздает эти .dropbox-dist
Хороший вопрос. Мне это нравится - там, где мы можем собирать входные данные / списки и вишневые подборки. Вот мой файл .exclude
. Я передаю этот файл в rsync как параметр - exclude-file =
в нескольких сценариях (что вы также можете сделать с двуличием ). Обратите внимание, что вопрос подразумевает «что вам нужно / нужно сохранить». Например, я создаю резервную копию моего полного файла .mozilla
DIR, поскольку он содержит несколько профилей и настроек, и проще сбрасывать их обратно на диск в целом. Также подразумевается в моей конфигурации: я делаю много «строить с нуля» для тестирования. Таким образом, у меня есть clonezilla изображение известной-хорошей-чистой базы установки, и я добавляю в свои личные (/ домашние) данные, хранящиеся на USB после его на диске;
# Имя файла: admin / dotfiles / exclude # Дата создания: 20110307-23: 36HRS # ln -s admin / dotfiles / exclude ~ / .exclude .cache .adobe .aptitude .compiz # здесь нет настроек; процессы .dbus .dropbox # не пытайтесь восстановить и повторно инициализировать любой из .dropbox-dist # этих DIR; очень грязные результаты могут произойти .elegant-gnome-backup .fontconfig .gnome2_private # MT; по крайней мере, на моей системе .pulse * .gconfd .gvfs .macromedia .local / share / Trash / .thumbnails Загрузки / Dropbox / # воссозданы при повторной инициализации Public / Music / Templates / # сохранены в U1 Ubuntu One / # воссозданы на re -инициализация wdir / iso / wdir / backups /
Я недавно занимался этим, и я заметил, что многие из файлов в моем домашнем каталоге, которые я не хочу создавать, похоже, не имеют групповых разрешений. Если то же самое относится к другим системам, то вероятный список подозреваемых может быть получен с помощью:
find ~ -not -perm -g+r
(Хотя проверьте вывод, потому что, хотя мой показался в основном хорошим, мой почтовый ящик электронной почты также появился на список, и я не знаю, как хорошо он будет работать для других.)
Это особенно привлекательно для меня, потому что мой домашний каталог зашифрован (включая имена файлов), поэтому список исключений для руководства будет PITA, и вместо этого я должен иметь возможность использовать групповые разрешения для автоматического создания списка исключений.
(Я знаю, что поток старый, но я думал, что это может быть полезно кому-то.)
Большинство этих файлов и каталогов воссоздаются, если они отсутствуют. Они в основном предназначены для снижения времени запуска приложения (кеши расширения Firefox), указания блокировок (.gksu.lock) или содержащих информацию, относящуюся к сеансу (например, идентификатор сеанса dbus). Недавние документы часто меняются и обычно не подходят для резервного копирования.
Эти каталоги могут быть исключены:
.gvfs # contains mounted file systems?
.local/share/gvfs-metadata
.Private # contains the actual encrypted home directory
.dbus # session-specific
.cache
.Trash # do I need to say more?
.local/share/Trash
.cddb # cached info about audio CDs
.aptitude # cached packages lists
Специфичный для Flash:
.adobe # Cache for flash, maybe others?
.macromedia # except for Flash persistence, there is no reason to keep this
Файлы:
.xsession-errors # contains errors from the current graphical session
.recently-used # recently used files
.recently-used.xbel
.thumbnails
.Xauthority # session-specific
.ICEauthority
.gksu.lock
.pulse # directory
.pulse-cookie
.esd_auth
Спецификация KDE:
.kde/share/apps/RecentDocuments # Recent documents on KDE
.kde/share/apps/klipper # Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/okular/docdata # you will loose saved scrolling positions of PDFs
.kde/share/apps/gwenview/recentfolders
.kde/share/apps/kmess/displaypics # cached other users' profile pics
.kde/share/apps/kmess/customemoticons # cached emoticons of others
Специфическая для Firefox (см. Также папку профиля):
.mozilla/firefox/*/Cache
.mozilla/firefox/*/minidumps # in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/.parentlock # session-specific
.mozilla/firefox/*/urlclassifier3.sqlite # phishing database, recreated
.mozilla/firefox/*/blocklist.xml # blacklisted extensions
.mozilla/firefox/*/extensions.sqlite # extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
.mozilla/firefox/*/XUL.mfasl # cached UI data, recreated
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
Операционная вопрос на Superuser.com: Папка профиля ):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
Комодо Редактировать:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
Другие приложения:
.pulse/icons # Pidgin
.java/deployment/cache # Cached applets
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
.dropbox # to avoid problems, let Dropbox re-create these
.dropbox-dist
Хороший вопрос. Мне это нравится - там, где мы можем собирать входные данные / списки и вишневые подборки. Вот мой файл .exclude. Я передаю этот файл в rsync как параметр --exclude-file= в нескольких сценариях (что вы также можете сделать с двуличностью). Обратите внимание, что вопрос подразумевает «что вам нужно / нужно сохранить». Например, я создаю резервную копию моего полного .mozilla DIR, поскольку он содержит несколько профилей и настроек, и проще сбрасывать их обратно на диск в целом. Также подразумевается в моей конфигурации: я делаю много «строить с нуля» для тестирования. Таким образом, у меня есть образ клонэзиллы с хорошо известной базой, и я добавляю в свои личные (/ домашние) данные, хранящиеся на USB после того, как он находится на диске; иногда выборочно, иногда в целом.
# Filename: admin/dotfiles/exclude
# Create Date: 20110307-23:36HRS
# ln -s admin/dotfiles/exclude ~/.exclude
.cache
.adobe
.aptitude
.compiz # no settings here; processes
.dbus
.dropbox # don't try to restore and reinitialize either of
.dropbox-dist # these DIRs; very messy results can happen
.elegant-gnome-backup
.fontconfig
.gnome2_private # MT; at least on my system
.pulse*
.gconfd
.gvfs
.macromedia
.local/share/Trash/
.thumbnails
Downloads/
Dropbox/ # recreated on re-initialization
Public/
Music/
Templates/ # stored on U1
Ubuntu One/ # recreated on re-initialization
wdir/iso/
wdir/backups/
Я создал неверующий в https://github.com/rubo77/rsync-homedir-excludes
Вы можете использовать его с Duplicity или rsync, например:
rsync -aP --exclude-from=rsync-homedir-excludes.txt /home/$USER/ /media/$USER/linuxbackup/home/$USER/
, это регулярно обновляется, на данный момент у нас это до сих пор:
################################################
# These directories may definitely be excluded #
################################################
# Contains mounted file systems:
.gvfs
.local/share/gvfs-metadata
# contains the actual encrypted home directory
/.Private
# Session-specific:
/.dbus
/.cache
/.Trash
.Trash-1*
.local/share/Trash
/Trash
# Cached info about audio CDs:
.cddb
# Cached packages lists:
.aptitude
# Node Package Manager cache
.npm
#Flash-specific:
# Cache for flash, maybe others?
.adobe
# except for Flash persistence, there is no reason to keep this
.macromedia
#Files:
# Contains errors from the current graphical session
.xsession-errors
.wayland-errors
# Recently used files
.local/share/RecentDocuments
.recently-used
.recently-used.xbel
.thumbnails
.thumb
Thumbs.db
.DS_Store
.localised
.bash_history
.CFUserTextEncoding
# Common Unix Printing System
/.cups
# run-time configuration information for Subversion
/.subversion
# Python virtual environments
/.virtualenvs
# Session-specific
.Xauthority
.ICEauthority
.gksu.lock
.pulse
.pulse-cookie
.esd_auth
#KDE specific:
# Recent documents on KDE
.kde/share/apps/RecentDocuments
.kde4/share/apps/RecentDocuments
# Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/klipper
.kde4/share/apps/klipper
# You will loose saved scrolling positions of PDFs
.kde/share/apps/okular/docdata
.kde/share/apps/gwenview/recentfolders
.kde4/share/apps/okular/docdata
.kde4/share/apps/gwenview/recentfolders
# Cached other users' profile pics
.kde/share/apps/kmess/displaypics
.kde4/share/apps/kmess/displaypics
# Cached emoticons of others
.kde/share/apps/kmess/customemoticons
.kde4/share/apps/kmess/customemoticons
#Firefox-specific (see also Profile folder):
.mozilla/firefox/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/minidumps
# session-specific
.mozilla/firefox/*/.parentlock
# phishing database, recreated
.mozilla/firefox/*/urlclassifier3.sqlite
# blacklisted extensions
.mozilla/firefox/*/blocklist.xml
# extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
# cached UI data, recreated
.mozilla/firefox/*/XUL.mfasl
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
# cached plugin data, recreated
.mozilla/firefox/*/pluginreg.dat
#SeaMonkey-specific (see also Profile folder):
.mozilla/seamonkey/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/seamonkey/*/minidumps
# session-specific
.mozilla/seamonkey/*/.parentlock
# blacklisted extensions
.mozilla/seamonkey/*/blocklist.xml
# extension database, recreated on startup
.mozilla/seamonkey/*/extensions.sqlite
.mozilla/seamonkey/*/extensions.rdf
.mozilla/seamonkey/*/extensions.ini
# cached UI data, recreated
.mozilla/seamonkey/*/xpti.dat
.mozilla/seamonkey/*/compreg.dat
# cached plugin data, recreated
.mozilla/seamonkey/*/pluginreg.dat
# Thunderbird Cache in your profile folder
.thunderbird/*/Cache
#Opera-specific (related question on Superuser.com: Is documentation available on files and directories in the Opera profile folder?):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
# Keychain dir (manage SSH and GPG keys, front-end to ssh-agent and ssh-add)
/.keychain
#Komodo Edit:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
#GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
#Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
#Chromium:
.config/chromium/Default/Local Storage
.config/chromium/Default/Session Storage
.config/chromium/Default/Application Cache
.config/chromium/Default/History Index *
#Local repositories (added by errantlinguist on 2015-04-13):
.gradle/caches
/.m2/repository
#indexer
.local/share/baloo
.local/share/zeitgeist
.local/share/akonadi
#Other apps:
# Pidgin
.pulse/icons
# Cached applets
.guayadeque/cache.db
.java/deployment/cache
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
# other temporary files
nohup.out
###############################################
# directories, probably not worth a backup #
# (uncomment the files you don't need) #
###############################################
#.android
#.AndroidStudio*/
#Android/Sdk
#.gradle
#.gvm
#.grails/
#.grails_history
#.kde/share/apps/nepomuk
#.local/share/notbit
#.local/libvirt
#.vagrant
#.vagrant.d
#.wine
#.twister
#/twister
#Applications/eclipse*
#/Downloads
#*Popcorntime*
#/Scribus
#/VirtualBox*
#
## Add Game Folders here:
#
#/games
#.local/share/Steam
#.steam
#Steam
#.minecraft
#.PlayOnLinux
Я недавно занимался этим, и я заметил, что многие из файлов в моем домашнем каталоге, которые я не хочу создавать, похоже, не имеют групповых разрешений. Если то же самое относится к другим системам, то вероятный список подозреваемых может быть получен с помощью:
find ~ -not -perm -g+r
(Хотя проверьте вывод, потому что, хотя мой показался в основном хорошим, мой почтовый ящик электронной почты также появился на список, и я не знаю, как хорошо он будет работать для других.)
Это особенно привлекательно для меня, потому что мой домашний каталог зашифрован (включая имена файлов), поэтому список исключений для руководства будет PITA, и вместо этого я должен иметь возможность использовать групповые разрешения для автоматического создания списка исключений.
(Я знаю, что поток старый, но я думал, что это может быть полезно кому-то.)
Большинство этих файлов и каталогов воссоздаются, если они отсутствуют. Они в основном предназначены для снижения времени запуска приложения (кеши расширения Firefox), указания блокировок (.gksu.lock) или содержащих информацию, относящуюся к сеансу (например, идентификатор сеанса dbus). Недавние документы часто меняются и обычно не подходят для резервного копирования.
Эти каталоги могут быть исключены:
.gvfs # contains mounted file systems?
.local/share/gvfs-metadata
.Private # contains the actual encrypted home directory
.dbus # session-specific
.cache
.Trash # do I need to say more?
.local/share/Trash
.cddb # cached info about audio CDs
.aptitude # cached packages lists
Специфичный для Flash:
.adobe # Cache for flash, maybe others?
.macromedia # except for Flash persistence, there is no reason to keep this
Файлы:
.xsession-errors # contains errors from the current graphical session
.recently-used # recently used files
.recently-used.xbel
.thumbnails
.Xauthority # session-specific
.ICEauthority
.gksu.lock
.pulse # directory
.pulse-cookie
.esd_auth
Спецификация KDE:
.kde/share/apps/RecentDocuments # Recent documents on KDE
.kde/share/apps/klipper # Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/okular/docdata # you will loose saved scrolling positions of PDFs
.kde/share/apps/gwenview/recentfolders
.kde/share/apps/kmess/displaypics # cached other users' profile pics
.kde/share/apps/kmess/customemoticons # cached emoticons of others
Специфическая для Firefox (см. Также папку профиля):
.mozilla/firefox/*/Cache
.mozilla/firefox/*/minidumps # in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/.parentlock # session-specific
.mozilla/firefox/*/urlclassifier3.sqlite # phishing database, recreated
.mozilla/firefox/*/blocklist.xml # blacklisted extensions
.mozilla/firefox/*/extensions.sqlite # extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
.mozilla/firefox/*/XUL.mfasl # cached UI data, recreated
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
Операционная вопрос на Superuser.com: Папка профиля ):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
Комодо Редактировать:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
Другие приложения:
.pulse/icons # Pidgin
.java/deployment/cache # Cached applets
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
.dropbox # to avoid problems, let Dropbox re-create these
.dropbox-dist
Я создал неверующий на https://github.com/rubo77/rsync-homedir-excludes
Вы можете использовать его с Duplicity или rsync, например:
rsync -aP --exclude-from=rsync-homedir-excludes.txt /home/$USER/ /media/$USER/linuxbackup/home/$USER/
это регулярно обновляется, на данный момент у нас есть это:
################################################
# These directories may definitely be excluded #
################################################
# Contains mounted file systems:
.gvfs
.local/share/gvfs-metadata
# contains the actual encrypted home directory
/.Private
# Session-specific:
/.dbus
/.cache
/.Trash
.Trash-1*
.local/share/Trash
/Trash
# Cached info about audio CDs:
.cddb
# Cached packages lists:
.aptitude
# Node Package Manager cache
.npm
#Flash-specific:
# Cache for flash, maybe others?
.adobe
# except for Flash persistence, there is no reason to keep this
.macromedia
#Files:
# Contains errors from the current graphical session
.xsession-errors
.wayland-errors
# Recently used files
.local/share/RecentDocuments
.recently-used
.recently-used.xbel
.thumbnails
.thumb
Thumbs.db
.DS_Store
.localised
.bash_history
.CFUserTextEncoding
# Common Unix Printing System
/.cups
# run-time configuration information for Subversion
/.subversion
# Python virtual environments
/.virtualenvs
# Session-specific
.Xauthority
.ICEauthority
.gksu.lock
.pulse
.pulse-cookie
.esd_auth
#KDE specific:
# Recent documents on KDE
.kde/share/apps/RecentDocuments
.kde4/share/apps/RecentDocuments
# Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/klipper
.kde4/share/apps/klipper
# You will loose saved scrolling positions of PDFs
.kde/share/apps/okular/docdata
.kde/share/apps/gwenview/recentfolders
.kde4/share/apps/okular/docdata
.kde4/share/apps/gwenview/recentfolders
# Cached other users' profile pics
.kde/share/apps/kmess/displaypics
.kde4/share/apps/kmess/displaypics
# Cached emoticons of others
.kde/share/apps/kmess/customemoticons
.kde4/share/apps/kmess/customemoticons
#Firefox-specific (see also Profile folder):
.mozilla/firefox/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/minidumps
# session-specific
.mozilla/firefox/*/.parentlock
# phishing database, recreated
.mozilla/firefox/*/urlclassifier3.sqlite
# blacklisted extensions
.mozilla/firefox/*/blocklist.xml
# extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
# cached UI data, recreated
.mozilla/firefox/*/XUL.mfasl
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
# cached plugin data, recreated
.mozilla/firefox/*/pluginreg.dat
#SeaMonkey-specific (see also Profile folder):
.mozilla/seamonkey/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/seamonkey/*/minidumps
# session-specific
.mozilla/seamonkey/*/.parentlock
# blacklisted extensions
.mozilla/seamonkey/*/blocklist.xml
# extension database, recreated on startup
.mozilla/seamonkey/*/extensions.sqlite
.mozilla/seamonkey/*/extensions.rdf
.mozilla/seamonkey/*/extensions.ini
# cached UI data, recreated
.mozilla/seamonkey/*/xpti.dat
.mozilla/seamonkey/*/compreg.dat
# cached plugin data, recreated
.mozilla/seamonkey/*/pluginreg.dat
# Thunderbird Cache in your profile folder
.thunderbird/*/Cache
#Opera-specific (related question on Superuser.com: Is documentation available on files and directories in the Opera profile folder?):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
# Keychain dir (manage SSH and GPG keys, front-end to ssh-agent and ssh-add)
/.keychain
#Komodo Edit:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
#GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
#Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
#Chromium:
.config/chromium/Default/Local Storage
.config/chromium/Default/Session Storage
.config/chromium/Default/Application Cache
.config/chromium/Default/History Index *
#Local repositories (added by errantlinguist on 2015-04-13):
.gradle/caches
/.m2/repository
#indexer
.local/share/baloo
.local/share/zeitgeist
.local/share/akonadi
#Other apps:
# Pidgin
.pulse/icons
# Cached applets
.guayadeque/cache.db
.java/deployment/cache
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
# other temporary files
nohup.out
###############################################
# directories, probably not worth a backup #
# (uncomment the files you don't need) #
###############################################
#.android
#.AndroidStudio*/
#Android/Sdk
#.gradle
#.gvm
#.grails/
#.grails_history
#.kde/share/apps/nepomuk
#.local/share/notbit
#.local/libvirt
#.vagrant
#.vagrant.d
#.wine
#.twister
#/twister
#Applications/eclipse*
#/Downloads
#*Popcorntime*
#/Scribus
#/VirtualBox*
#
## Add Game Folders here:
#
#/games
#.local/share/Steam
#.steam
#Steam
#.minecraft
#.PlayOnLinux
Хороший вопрос. Мне это нравится - там, где мы можем собирать входные данные / списки и вишневые подборки. Вот мой файл .exclude. Я передаю этот файл в rsync как параметр --exclude-file= в нескольких сценариях (что вы также можете сделать с двуличностью). Обратите внимание, что вопрос подразумевает «что вам нужно / нужно сохранить». Например, я создаю резервную копию моего полного .mozilla DIR, поскольку он содержит несколько профилей и настроек, и проще сбрасывать их обратно на диск в целом. Также подразумевается в моей конфигурации: я делаю много «строить с нуля» для тестирования. Таким образом, у меня есть образ клонэзиллы с хорошо известной базой, и я добавляю в свои личные (/ домашние) данные, хранящиеся на USB после того, как он находится на диске; иногда выборочно, иногда в целом.
# Filename: admin/dotfiles/exclude
# Create Date: 20110307-23:36HRS
# ln -s admin/dotfiles/exclude ~/.exclude
.cache
.adobe
.aptitude
.compiz # no settings here; processes
.dbus
.dropbox # don't try to restore and reinitialize either of
.dropbox-dist # these DIRs; very messy results can happen
.elegant-gnome-backup
.fontconfig
.gnome2_private # MT; at least on my system
.pulse*
.gconfd
.gvfs
.macromedia
.local/share/Trash/
.thumbnails
Downloads/
Dropbox/ # recreated on re-initialization
Public/
Music/
Templates/ # stored on U1
Ubuntu One/ # recreated on re-initialization
wdir/iso/
wdir/backups/
Хороший вопрос. Мне это нравится - там, где мы можем собирать входные данные / списки и вишневые подборки. Вот мой файл .exclude
. Я передаю этот файл в rsync как параметр - exclude-file =
в нескольких сценариях (что вы также можете сделать с двуличием ). Обратите внимание, что вопрос подразумевает «что вам нужно / нужно сохранить». Например, я создаю резервную копию моего полного файла .mozilla
DIR, поскольку он содержит несколько профилей и настроек, и проще сбрасывать их обратно на диск в целом. Также подразумевается в моей конфигурации: я делаю много «строить с нуля» для тестирования. Таким образом, у меня есть clonezilla изображение известной-хорошей-чистой базы установки, и я добавляю в свои личные (/ домашние) данные, хранящиеся на USB после того, как он находится на диске;
# Имя файла: admin / dotfiles / exclude # Дата создания: 20110307-23: 36HRS # ln -s admin / dotfiles / exclude ~ / .exclude .cache .adobe .aptitude .compiz # здесь нет настроек; процессы .dbus .dropbox # не пытайтесь восстановить и повторно инициализировать любой из .dropbox-dist # этих DIR; очень грязные результаты могут произойти .elegant-gnome-backup .fontconfig .gnome2_private # MT; по крайней мере, на моей системе .pulse * .gconfd .gvfs .macromedia .local / share / Trash / .thumbnails Загрузки / Dropbox / # воссозданы при повторной инициализации Public / Music / Templates / # сохранены в U1 Ubuntu One / # воссозданы на re -инициализация wdir / iso / wdir / backups /
Я создал неверующий в https://github.com/rubo77/rsync-homedir-excludes
Вы можете использовать его с Duplicity или rsync, например:
rsync -aP --exclude-from=rsync-homedir-excludes.txt /home/$USER/ /media/$USER/linuxbackup/home/$USER/
, это регулярно обновляется, на данный момент у нас это до сих пор:
################################################
# These directories may definitely be excluded #
################################################
# Contains mounted file systems:
.gvfs
.local/share/gvfs-metadata
# contains the actual encrypted home directory
/.Private
# Session-specific:
/.dbus
/.cache
/.Trash
.Trash-1*
.local/share/Trash
/Trash
# Cached info about audio CDs:
.cddb
# Cached packages lists:
.aptitude
# Node Package Manager cache
.npm
#Flash-specific:
# Cache for flash, maybe others?
.adobe
# except for Flash persistence, there is no reason to keep this
.macromedia
#Files:
# Contains errors from the current graphical session
.xsession-errors
.wayland-errors
# Recently used files
.local/share/RecentDocuments
.recently-used
.recently-used.xbel
.thumbnails
.thumb
Thumbs.db
.DS_Store
.localised
.bash_history
.CFUserTextEncoding
# Common Unix Printing System
/.cups
# run-time configuration information for Subversion
/.subversion
# Python virtual environments
/.virtualenvs
# Session-specific
.Xauthority
.ICEauthority
.gksu.lock
.pulse
.pulse-cookie
.esd_auth
#KDE specific:
# Recent documents on KDE
.kde/share/apps/RecentDocuments
.kde4/share/apps/RecentDocuments
# Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/klipper
.kde4/share/apps/klipper
# You will loose saved scrolling positions of PDFs
.kde/share/apps/okular/docdata
.kde/share/apps/gwenview/recentfolders
.kde4/share/apps/okular/docdata
.kde4/share/apps/gwenview/recentfolders
# Cached other users' profile pics
.kde/share/apps/kmess/displaypics
.kde4/share/apps/kmess/displaypics
# Cached emoticons of others
.kde/share/apps/kmess/customemoticons
.kde4/share/apps/kmess/customemoticons
#Firefox-specific (see also Profile folder):
.mozilla/firefox/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/minidumps
# session-specific
.mozilla/firefox/*/.parentlock
# phishing database, recreated
.mozilla/firefox/*/urlclassifier3.sqlite
# blacklisted extensions
.mozilla/firefox/*/blocklist.xml
# extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
# cached UI data, recreated
.mozilla/firefox/*/XUL.mfasl
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
# cached plugin data, recreated
.mozilla/firefox/*/pluginreg.dat
#SeaMonkey-specific (see also Profile folder):
.mozilla/seamonkey/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/seamonkey/*/minidumps
# session-specific
.mozilla/seamonkey/*/.parentlock
# blacklisted extensions
.mozilla/seamonkey/*/blocklist.xml
# extension database, recreated on startup
.mozilla/seamonkey/*/extensions.sqlite
.mozilla/seamonkey/*/extensions.rdf
.mozilla/seamonkey/*/extensions.ini
# cached UI data, recreated
.mozilla/seamonkey/*/xpti.dat
.mozilla/seamonkey/*/compreg.dat
# cached plugin data, recreated
.mozilla/seamonkey/*/pluginreg.dat
# Thunderbird Cache in your profile folder
.thunderbird/*/Cache
#Opera-specific (related question on Superuser.com: Is documentation available on files and directories in the Opera profile folder?):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
# Keychain dir (manage SSH and GPG keys, front-end to ssh-agent and ssh-add)
/.keychain
#Komodo Edit:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
#GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
#Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
#Chromium:
.config/chromium/Default/Local Storage
.config/chromium/Default/Session Storage
.config/chromium/Default/Application Cache
.config/chromium/Default/History Index *
#Local repositories (added by errantlinguist on 2015-04-13):
.gradle/caches
/.m2/repository
#indexer
.local/share/baloo
.local/share/zeitgeist
.local/share/akonadi
#Other apps:
# Pidgin
.pulse/icons
# Cached applets
.guayadeque/cache.db
.java/deployment/cache
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
# other temporary files
nohup.out
###############################################
# directories, probably not worth a backup #
# (uncomment the files you don't need) #
###############################################
#.android
#.AndroidStudio*/
#Android/Sdk
#.gradle
#.gvm
#.grails/
#.grails_history
#.kde/share/apps/nepomuk
#.local/share/notbit
#.local/libvirt
#.vagrant
#.vagrant.d
#.wine
#.twister
#/twister
#Applications/eclipse*
#/Downloads
#*Popcorntime*
#/Scribus
#/VirtualBox*
#
## Add Game Folders here:
#
#/games
#.local/share/Steam
#.steam
#Steam
#.minecraft
#.PlayOnLinux
Большинство этих файлов и каталогов воссоздаются, если они отсутствуют. Они в основном предназначены для снижения времени запуска приложения (кеши расширения Firefox), указав блокировки ( .gksu.lock
) или содержащие информацию, относящуюся к сеансу (например, идентификатор сеанса dbus). Недавние документы часто меняются и обычно не подходят для резервного копирования.
Эти каталоги могут быть исключены:
.gvfs # содержит смонтированные файловые системы? .local / share / gvfs-metadata .Private # содержит фактический зашифрованный домашний каталог .dbus # для конкретного сеанса .cache .Trash # мне нужно сказать больше? .local / share / Trash .cddb # кэшированная информация об аудиокомпаниях .aptitude # списки кэшированных пакетов
Флеш-специфический:
.adobe # Кэш для вспышка, может быть, другие? .macromedia #, за исключением сохранения настойчивости Flash, нет причин для сохранения этого
Файлы:
.xsession-errors # содержит ошибки из текущего графического сеанса .recently-used # недавно использованные файлы .recently-used.xbel .thumbnails. Xauthority # session-specific .ICEauthority .gksu.lock .pulse # .pulse-cookie .esd_auth
KDE специфический:
.kde / share / apps / RecentDocuments # Недавние документы в KDE .kde / share / apps / klipper # Содержит историю клипбола Klipper (KDE) .kde / share / apps / okular / docdata # вы потеряете сохраненные позиции прокрутки PDF-файлов .kde / share / apps / gwenview / recentfolders .kde / share / apps / kmess / displaypics # кэшированные фотографии профилей других пользователей .kde / share / apps / kmess / customemoticons # cached emoticons of others
Firefox-specific (см. также Папка профиля ):
.mozilla / firefox / * / Cache .mozilla / firefox / * / minidumps # в случае, если Fx сбрасывает дампы, будет храниться в этом .mozilla / firefox / * /. P arentlock # session-specific .mozilla / firefox / * / urlclassifier3.sqlite # фишинг-база данных, воссозданная .mozilla / firefox / * / blocklist.xml # черный список расширений .mozilla / firefox / * / extensions.sqlite # база данных расширений, воссозданная при запуске .mozilla / firefox / * / extensions.sqlite-journal .mozilla / firefox / * / extensions.rdf .mozilla / firefox / * / extensions.ini .mozilla / firefox / * / extensions.cache .mozilla / firefox / * / XUL .mfasl # кэшированные данные пользовательского интерфейса, воссозданные .mozilla / firefox / * / XPC.mfasl .mozilla / firefox / * / xpti.dat .mozilla / firefox / * / compreg.dat
Опера -специфический (связанный с этим вопрос на Superuser.com: Доступна ли документация в файлах и каталогах в папке профиля Opera? ):
.opera / tempor_downloads .opera / cache .opera / thumbnails .opera / opcache .opera / icons .opera / application_cache .opera / widgets / * / cache .opera / lock
Komodo Edit : [ ! d21]
.komodoedit / * / codeintel / db .komodoedit / * / host - * / * / codeintel .komodoedit / * / XRE / Cache .komodo edit / * / XRE / .activatestate / komodo edit / Crash Reports .komodoedit / * / XRE / .activatestate / komodo edit / * / Cache .komodoedit / * / XRE / .activatestate / komodo edit / * / minidump .komodoedit / * /XRE/.parentlock .komodoedit / * / XRE / extensions.rdf .komodoedit / * / XRE / extensions.ini .komodoedit / * / XRE / extensions.cache .komodoedit / * / XRE / XPC.mfasl .komodoedit / * / XRE / XUL.mfasl .komodoedit / * / XRE / xpti.dat .komodoedit / * / XRE / pluginreg.dat .komodoedit / * / XRE / compreg.dat .komodoedit / * / XRE / *. Sqlite-journal .komodoedit / * / pystdout.log .komodoedit / * / pystderr.log .komodoedit / * / history.sqlite.bak .komodoedit / * / running.lock .komodoedit / * / mutex.lock .komodoedit / * / *. xmlc .komodoedit / * / startup-env.tmp .komoeoedit / * / commandments.fifo .komoeoedit / * / history.sqlite
GnuPG:
.gnupg / rnd .gnupg / random_seed .gnupg /.#* .gnupg / *. lock .gnupg / gpg-agent-info- *
Google Chrome:
.config / google-chrome / Default / Local Storage .config / google-chrome / хранилище по умолчанию / сеанс .config / google-chr ome / Default / Application Cache .config / google-chrome / индекс по умолчанию / история *
Другие приложения:
.pulse / icons # Pidgin .java / deploy / cache # Кэшированные апплеты .icedteaplugin .icedtea .gnome2 / epiphany / favicon_cache .dropbox #, чтобы избежать проблем, пусть Dropbox воссоздает эти .dropbox-dist
Недавно я смотрел на такое, и я заметил, что многие из файлов в моем домашнем каталоге, которые я не хочу создавать, похоже, не имеют групповых разрешений. Если то же самое относится к другим системам, то вероятный список подозреваемых может быть получен с помощью:
find ~ -not -perm -g + r
(Хотя проверьте вывод, потому что, хотя мой показался в основном хорошим, мой почтовый ящик электронной почты также появился в списке, и я не знаю, насколько хорошо он будет работать для других.)
Это особенно привлекательно для меня, потому что мой домашний каталог зашифрован (включая имена файлов), поэтому список исключений вручную будет PITA, и вместо этого я должен иметь возможность использовать групповые разрешения для автоматического создания списка исключений.
( Я знаю, что поток старый, но я думал, что это может быть полезно кому-то.)
Хороший вопрос. Мне это нравится - там, где мы можем собирать входные данные / списки и вишневые подборки. Вот мой файл .exclude
. Я передаю этот файл в rsync как параметр - exclude-file =
в нескольких сценариях (что вы также можете сделать с двуличием ). Обратите внимание, что вопрос подразумевает «что вам нужно / нужно сохранить». Например, я создаю резервную копию моего полного файла .mozilla
DIR, поскольку он содержит несколько профилей и настроек, и проще сбрасывать их обратно на диск в целом. Также подразумевается в моей конфигурации: я делаю много «строить с нуля» для тестирования. Таким образом, у меня есть clonezilla изображение известной-хорошей-чистой базы установки, и я добавляю в свои личные (/ домашние) данные, хранящиеся на USB после его на диске;
# Имя файла: admin / dotfiles / exclude # Дата создания: 20110307-23: 36HRS # ln -s admin / dotfiles / exclude ~ / .exclude .cache .adobe .aptitude .compiz # здесь нет настроек; процессы .dbus .dropbox # не пытайтесь восстановить и повторно инициализировать любой из .dropbox-dist # этих DIR; очень грязные результаты могут произойти .elegant-gnome-backup .fontconfig .gnome2_private # MT; по крайней мере, на моей системе .pulse * .gconfd .gvfs .macromedia .local / share / Trash / .thumbnails Загрузки / Dropbox / # воссозданы при повторной инициализации Public / Music / Templates / # сохранены в U1 Ubuntu One / # воссозданы на re -инициализация wdir / iso / wdir / backups /
Я создал неверующий в https://github.com/rubo77/rsync-homedir-excludes
Вы можете использовать его с Duplicity или rsync, например:
rsync -aP --exclude-from=rsync-homedir-excludes.txt /home/$USER/ /media/$USER/linuxbackup/home/$USER/
, это регулярно обновляется, на данный момент у нас это до сих пор:
################################################
# These directories may definitely be excluded #
################################################
# Contains mounted file systems:
.gvfs
.local/share/gvfs-metadata
# contains the actual encrypted home directory
/.Private
# Session-specific:
/.dbus
/.cache
/.Trash
.Trash-1*
.local/share/Trash
/Trash
# Cached info about audio CDs:
.cddb
# Cached packages lists:
.aptitude
# Node Package Manager cache
.npm
#Flash-specific:
# Cache for flash, maybe others?
.adobe
# except for Flash persistence, there is no reason to keep this
.macromedia
#Files:
# Contains errors from the current graphical session
.xsession-errors
.wayland-errors
# Recently used files
.local/share/RecentDocuments
.recently-used
.recently-used.xbel
.thumbnails
.thumb
Thumbs.db
.DS_Store
.localised
.bash_history
.CFUserTextEncoding
# Common Unix Printing System
/.cups
# run-time configuration information for Subversion
/.subversion
# Python virtual environments
/.virtualenvs
# Session-specific
.Xauthority
.ICEauthority
.gksu.lock
.pulse
.pulse-cookie
.esd_auth
#KDE specific:
# Recent documents on KDE
.kde/share/apps/RecentDocuments
.kde4/share/apps/RecentDocuments
# Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/klipper
.kde4/share/apps/klipper
# You will loose saved scrolling positions of PDFs
.kde/share/apps/okular/docdata
.kde/share/apps/gwenview/recentfolders
.kde4/share/apps/okular/docdata
.kde4/share/apps/gwenview/recentfolders
# Cached other users' profile pics
.kde/share/apps/kmess/displaypics
.kde4/share/apps/kmess/displaypics
# Cached emoticons of others
.kde/share/apps/kmess/customemoticons
.kde4/share/apps/kmess/customemoticons
#Firefox-specific (see also Profile folder):
.mozilla/firefox/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/minidumps
# session-specific
.mozilla/firefox/*/.parentlock
# phishing database, recreated
.mozilla/firefox/*/urlclassifier3.sqlite
# blacklisted extensions
.mozilla/firefox/*/blocklist.xml
# extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
# cached UI data, recreated
.mozilla/firefox/*/XUL.mfasl
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
# cached plugin data, recreated
.mozilla/firefox/*/pluginreg.dat
#SeaMonkey-specific (see also Profile folder):
.mozilla/seamonkey/*/Cache
# in case Fx crashes dumps will be stored in this
.mozilla/seamonkey/*/minidumps
# session-specific
.mozilla/seamonkey/*/.parentlock
# blacklisted extensions
.mozilla/seamonkey/*/blocklist.xml
# extension database, recreated on startup
.mozilla/seamonkey/*/extensions.sqlite
.mozilla/seamonkey/*/extensions.rdf
.mozilla/seamonkey/*/extensions.ini
# cached UI data, recreated
.mozilla/seamonkey/*/xpti.dat
.mozilla/seamonkey/*/compreg.dat
# cached plugin data, recreated
.mozilla/seamonkey/*/pluginreg.dat
# Thunderbird Cache in your profile folder
.thunderbird/*/Cache
#Opera-specific (related question on Superuser.com: Is documentation available on files and directories in the Opera profile folder?):
.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
# Keychain dir (manage SSH and GPG keys, front-end to ssh-agent and ssh-add)
/.keychain
#Komodo Edit:
.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
#GnuPG:
.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
#Google Chrome:
.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
#Chromium:
.config/chromium/Default/Local Storage
.config/chromium/Default/Session Storage
.config/chromium/Default/Application Cache
.config/chromium/Default/History Index *
#Local repositories (added by errantlinguist on 2015-04-13):
.gradle/caches
/.m2/repository
#indexer
.local/share/baloo
.local/share/zeitgeist
.local/share/akonadi
#Other apps:
# Pidgin
.pulse/icons
# Cached applets
.guayadeque/cache.db
.java/deployment/cache
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache
# other temporary files
nohup.out
###############################################
# directories, probably not worth a backup #
# (uncomment the files you don't need) #
###############################################
#.android
#.AndroidStudio*/
#Android/Sdk
#.gradle
#.gvm
#.grails/
#.grails_history
#.kde/share/apps/nepomuk
#.local/share/notbit
#.local/libvirt
#.vagrant
#.vagrant.d
#.wine
#.twister
#/twister
#Applications/eclipse*
#/Downloads
#*Popcorntime*
#/Scribus
#/VirtualBox*
#
## Add Game Folders here:
#
#/games
#.local/share/Steam
#.steam
#Steam
#.minecraft
#.PlayOnLinux