diff options
Diffstat (limited to 'content/notes/Backup rsync.md')
-rw-r--r-- | content/notes/Backup rsync.md | 200 |
1 files changed, 200 insertions, 0 deletions
diff --git a/content/notes/Backup rsync.md b/content/notes/Backup rsync.md new file mode 100644 index 0000000..8315afc --- /dev/null +++ b/content/notes/Backup rsync.md @@ -0,0 +1,200 @@ ++++ +title = "Бекап linux системы с помощью rsync" +tags = ["linux"] ++++ + +# Вносим в crontab + +``` +rsync -v --archive --compress --progress --delete-after --force --partial --exclude-from=/home/$USER/excludes.txt /home/$USER/ 192.168.50.2:/volume1/NetBackup/NeonXPLaptop +``` + +# Пример excludes.txt +<!--more--> +``` +.android +.AndroidStudio*/ +Android/Sdk +.gradle +.gvm +.grails/ +.grails_history +.kde/share/apps/nepomuk +.local/share/notbit +.local/libvirt +.local/share/libvirt +.vagrant +.vagrant.d +.wine +.twister +twister +.local/share/Steam +.var/app/com.valvesoftware.Steam/.local/share/Steam +.steam +Steam +.PlayOnLinux +.local/share/lutris/runners/wine/ +Видео +.docker/machine +.local/share/containers +.gvfs +.local/share/gvfs-metadata +.Private +.dbus +.cache +.var/app/*/cache +.var/app/*/.cache +.Trash +.Trash-1* +.local/share/Trash +.cddb +.aptitude +.npm +.nvm +.adobe +.macromedia +.xsession-errors +.xsession-errors.old +.wayland-errors +.local/share/RecentDocuments +.recently-used +.recently-used.xbel +recently-used.xbel +.thumbnails +.thumb +Thumbs.db +.DS_Store +.localised +.CFUserTextEncoding +.zcompdump* +.wget-hsts +.cups +.subversion +.virtualenvs +.Xauthority +.ICEauthority +.gksu.lock +.pulse +.pulse-cookie +.esd_auth +.VeraCrypt-lock-* +.kde/share/apps/RecentDocuments +.kde4/share/apps/RecentDocuments +.kde/share/apps/klipper +.kde4/share/apps/klipper +.local/share/klipper +.kde/share/apps/okular/docdata +.kde/share/apps/gwenview/recentfolders +.kde4/share/apps/okular/docdata +.kde4/share/apps/gwenview/recentfolders +.local/share/okular/docdata +.local/share/org.kde.gwenview/recentfolders +.kde/share/apps/kmess/displaypics +.kde4/share/apps/kmess/displaypics +.kde/share/apps/kmess/customemoticons +.kde4/share/apps/kmess/customemoticons +.local/share/tracker +.local/share/torbrowser +.mozilla/firefox/*/Cache +.mozilla/firefox/*/minidumps +.mozilla/firefox/*/.parentlock +.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 +.mozilla/firefox/*/pluginreg.dat +.mozilla/seamonkey/*/Cache +.mozilla/seamonkey/*/minidumps +.mozilla/seamonkey/*/.parentlock +.mozilla/seamonkey/*/blocklist.xml +.mozilla/seamonkey/*/extensions.sqlite +.mozilla/seamonkey/*/extensions.rdf +.mozilla/seamonkey/*/extensions.ini +.mozilla/seamonkey/*/xpti.dat +.mozilla/seamonkey/*/compreg.dat +.mozilla/seamonkey/*/pluginreg.dat +.thunderbird/*/Cache +.keychain +.komodoedit +.gnupg/rnd +.gnupg/random_seed +.gnupg/.#* +.gnupg/*.lock +.gnupg/gpg-agent-info-* +.config/google-chrome/ShaderCache +.config/google-chrome/*/Local Storage +.config/google-chrome/*/Session Storage +.config/google-chrome/*/Application Cache +.config/google-chrome/*/History Index * +.config/google-chrome/*/Service Worker/CacheStorage +.config/google-chrome/*/WebStorage/*/CacheStorage +.config/chromium/*/Local Storage +.config/chromium/*/Session Storage +.config/chromium/*/Service Worker/CacheStorage +.config/chromium/*/Application Cache +.config/chromium/*/History Index * +/snap/chromium/common/.cache +/snap/chromium/*/.config/chromium/*/Service Worker/CacheStorage +/snap/chromium/*/.local/share/ +.gradle/caches +/.m2/repository +.local/share/baloo +.local/share/zeitgeist +.local/share/akonadi +.purple/icons +.guayadeque/cache.db +.java/deployment/cache +.icedteaplugin +.icedtea +.gnome2/epiphany/favicon_cache +nohup.out +.config/libreoffice/4/cache +.config/*/Cache +.config/Atom/*Cache +.config/Atom/IndexedDB +.atom/compile-cache/ +.vim/bundle/* +.viminfo +.vscode-oss/extensions/* +.vscode/extensions/* +.config/Code - OSS/logs/ +.config/Code/logs/ +.config/Code/CachedData/* +.config/VSCodium/CachedExtensionVSIXs +.config/VSCode/CachedExtensionVSIXs +.config/VirtualBox/VBoxSVC.log* +.config/VirtualBox/VBoxGuestAdditions_* +.cargo +.rustup +go/pkg/mod/cache +.nv/GLCache +.config/**/blob_storage +.config/**/Application Cache +.config/**/Cache +.config/**/CachedData +.config/**/Code Cache +.config/**/GPUCache +.config/**/Service Worker/CacheStorage +.var/app/**/blob_storage +.var/app/**/Application Cache +.var/app/**/Cache +.var/app/**/CachedData +.var/app/**/Code Cache +.var/app/**/GPUCache +.var/app/**/Service Worker/CacheStorage +.config/scc/daemon.socket +Загрузки +.config/yandex-browser +Sync +snap +.local/share/TelegramDesktop +.local/share/Zeal +.thunderbird +```
\ No newline at end of file |