backup exclude
HI,
I have a different folders in user directory. Basically i want to backup websites, emails and databases, i want to know if i can go in trouble if i exclude all except public_html and mail folder
thanks
[root@gemini *****]# ls -al
total 516
drwx--x--x 35 ***** ***** 4096 Jun 19 12:09 .
drwxr-xr-x 115 root root 4096 Jun 24 17:37 ..
-rw------- 1 ***** ***** 990 Jun 15 2017 .accesshash
lrwxrwxrwx 1 ***** ***** 40 Nov 11 2014 access-logs -> /usr/local/apache/domlogs/*****
-rw------- 1 ***** ***** 6698 Jun 20 20:06 .bash_history
-rw-r--r-- 1 ***** ***** 18 Oct 16 2014 .bash_logout
-rw-r--r-- 1 ***** ***** 176 Oct 16 2014 .bash_profile
-rw-r--r-- 1 ***** ***** 124 Oct 16 2014 .bashrc
drwxr-xr-x 2 ***** ***** 4096 Jun 10 2017 cache
drwxrwx--x 5 ***** ***** 4096 Mar 6 13:27 .cagefs
drwxr-xr-x 2 ***** ***** 4096 Jun 19 03:47 .cl.selector
drwxr-xr-x 3 ***** ***** 4096 Oct 5 2019 .composer
-rw------- 1 ***** ***** 20 Feb 18 2016 .contactemail
drwxr-xr-x 3 ***** ***** 4096 Feb 17 15:19 .cpaddons
drwxr-xr-x 3 ***** ***** 4096 Sep 21 2016 .cpan
drwx------ 8 ***** ***** 4096 Jun 22 12:27 .cpanel
drwxr-xr-x 4 ***** ***** 4096 Oct 4 2016 cpanel3-skel
-rw-r----- 1 ***** ***** 1 Dec 20 2014 cpbackup-exclude.conf
drwx------ 3 ***** ***** 4096 Sep 21 2016 .cpcpan
drwx------ 4 ***** ***** 4096 Jun 26 10:10 .cphorde
drwx------ 3 ***** ***** 4096 Sep 21 2016 .cpobjcache
-rw-rw-r-- 1 ***** ***** 19 Jan 16 08:55 .dns
-rw-r--r-- 1 ***** ***** 4096 Jan 16 2016 ._.DS_Store
-rw-r--r-- 1 ***** ***** 8196 Jan 16 2016 .DS_Store
lrwxrwxrwx 1 ***** ***** 8 Jan 14 2019 .ea-php-cli.cache -> ea-php70
-rw-r--r-- 1 ***** ***** 8741 May 1 07:00 error_log
drwxr-x--- 5 ***** mail 4096 Jun 20 12:07 etc
-rw-r--r-- 1 ***** ***** 48 Dec 14 2016 .filter
-rw------- 1 ***** ***** 15 Oct 12 2017 .ftpquota
-rw-r--r-- 1 ***** ***** 58 Jan 13 14:01 .gitconfig
drwx------ 2 ***** ***** 4096 Jan 20 09:32 .gnupg
-rw-r--r-- 1 ***** ***** 928 Dec 18 2017 .htaccess
drwxr-x--- 3 ***** nobody 4096 May 3 2016 .htpasswds
drwx------ 2 ***** ***** 4096 Sep 21 2016 .HttpRequest
-rw------- 1 ***** ***** 628 Jun 20 11:30 .lastlogin
drwx------ 2 ***** ***** 4096 Jun 25 14:19 logs
drwxr-x--x 13 ***** ***** 4096 Mar 6 13:19 mail
drwx------ 4 ***** ***** 4096 Sep 21 2016 .MirrorSearch
drwxr-xr-x 3 ***** ***** 4096 Sep 21 2016 perl
lrwxrwxrwx 1 ***** ***** 8 Dec 23 2018 perl5 -> perl/usr
drwxr----- 3 ***** ***** 4096 Feb 22 2018 .pki
drwxr-x--- 3 ***** ***** 4096 Nov 16 2018 public_ftp
drwxr-x--- 14 ***** nobody 4096 Jun 24 04:01 public_html
drwx------ 2 ***** ***** 4096 Sep 24 2015 .pyzor
-rw-r--r-- 1 root root 153052 Jun 19 12:09 qmcorpor_new.sql
drwxr-xr-x 2 ***** ***** 4096 Jun 26 09:02 .razor
-rw------- 1 ***** ***** 1024 Oct 30 2015 .rnd
drwx------ 2 ***** ***** 4096 Jun 26 09:46 .spamassassin
-rw-r--r-- 1 ***** ***** 0 Mar 2 2017 .spamassassinboxenable
-rw-r--r-- 1 ***** ***** 0 Mar 6 13:01 .spamassassinenable
drwx------ 2 ***** ***** 4096 Mar 3 2016 .sqmailattach
drwx------ 2 ***** ***** 4096 Feb 4 2019 .sqmaildata
drwx------ 3 ***** ***** 4096 Jun 20 11:37 .ssh
drwxr-xr-x 5 ***** ***** 4096 Jun 24 04:04 ssl
drwx------ 2 ***** ***** 4096 Dec 6 2016 .subaccounts
drwxr-xr-x 12 ***** ***** 143360 Jun 20 12:29 tmp
drwx------ 7 ***** ***** 4096 Jun 22 10:45 .trash
drwxr-xr-x 3 ***** ***** 4096 Nov 6 2015 var
lrwxrwxrwx 1 ***** ***** 11 Dec 23 2018 www -> public_html
Please sign in to leave a comment.
Comments
0 comments