exclude files from backup? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: exclude files from backup? (/thread-12164.html) |
exclude files from backup? - Catscrash - 11-17-2010 07:19 PM Hi, is there a way to exclude folders from the daily backup that is made from every virtual host? thanks Catscrash RE: exclude files from backup? - Kika - 11-17-2010 07:27 PM open /var/www/ispcp/engine/backup/ispcp-backup-all search for: Code: --exclude=phptmp insert into this line what you want exclude: Code: --exclude=DIRECTORY_NAME RE: exclude files from backup? - Catscrash - 11-17-2010 07:39 PM should i put an absolute path in there or something relative to... to what? RE: exclude files from backup? - Kika - 11-17-2010 07:50 PM sample folder tree: dir1/config/a.php dir1/dir2/config/b.php if you use --exclude=config than all path will exclude witch contains the "config" pattern, but is you use --exclude=dir1/config than only the first line will exclude from example RE: exclude files from backup? - Catscrash - 11-18-2010 06:21 PM thanks, works fine |