Missing files in backup

Hi,

I have UrBackup 2.4.14 on Win10 running, and backing up all my Ubuntu servers to it. While it seems to be working, I just went to restore a file that I broke,. and it wasn’t there:

Yet this is what should be in there:

ls -lh .                                                                                                                                                total 248K
-rw-r--r-- 1 peekio peekio 2.6K May  8  2021 about.html
-rw-r--r-- 1 peekio peekio 6.6K Mar 11 11:51 add.html
-rw-r--r-- 1 peekio peekio 7.2K Mar 11 11:48 add_step_2.html
-rw-r--r-- 1 peekio peekio 2.0K Mar 11 11:51 add_success.html
drwxr-xr-x 3 peekio peekio 4.0K Mar  8  2021 Admin
drwxr-xr-x 2 peekio peekio 4.0K Mar  8  2021 Admin_Daily
drwxr-xr-x 2 peekio peekio 4.0K Mar  8  2021 Articles
-rw-r--r-- 1 peekio peekio 5.6K Jan 26 15:51 category.html
drwxr-xr-x 2 peekio peekio 4.0K Mar  8  2021 Common
drwxr-xr-x 2 peekio peekio  12K Mar 11 11:51 compiled
-rw-r--r-- 1 peekio peekio 7.1K May 17  2021 contact_csr.html
-rw-r--r-- 1 peekio peekio 6.7K May 17  2021 contact.html
-rw-r--r-- 1 peekio peekio 3.8K Oct  8  2020 detailed.html
drwxr-xr-x 3 peekio peekio 4.0K Mar  8  2021 Emails
-rw-r--r-- 1 peekio peekio 1008 Dec  7  2019 error_code.html
-rw-r--r-- 1 peekio peekio  906 Aug 11  2020 error.html
-rw-r--r-- 1 peekio peekio 1.2K Dec  7  2019 events.html
-rw-r--r-- 1 peekio peekio 4.8K Apr 26  2021 featured.html
-rw-r--r-- 1 peekio peekio  315 Mar  8  2021 globals.txt
-rw-r--r-- 1 peekio peekio 6.5K Jan 26 12:26 home.html
-rw-r--r-- 1 peekio peekio  184 Apr  3  2019 include_blog_article.html
-rw-r--r-- 1 peekio peekio  519 Dec  7  2019 include_product.html
-rw-r--r-- 1 peekio peekio 4.4K May  2  2019 language.txt
-rw-r--r-- 1 peekio peekio 1.5K Jan 26 12:20 link.html
-rw-r--r-- 1 peekio peekio 1023 Sep 25  2020 link_simple.html
-rw-r--r-- 1 peekio peekio  895 Jan 26 15:54 link_ssi.html
drwxr-xr-x 2 peekio peekio 4.0K Mar  8  2021 local
-rw-r--r-- 1 peekio peekio 2.5K Nov  9  2020 login_email.html
-rw-r--r-- 1 peekio peekio 3.3K Oct 12  2020 login.html
-rw-r--r-- 1 peekio peekio   70 Aug 11  2020 login_success.html
-rw-r--r-- 1 peekio peekio 7.9K Oct  6  2020 modify.html
-rw-r--r-- 1 peekio peekio 2.1K Oct  2  2020 modify_select.html
-rw-r--r-- 1 peekio peekio 2.9K Sep 25  2020 modify_success.html
-rw-r--r-- 1 peekio peekio 2.7K Jan  8  2020 new-products.html
-rw-r--r-- 1 peekio peekio 3.6K Oct  7  2020 news.html
-rw-r--r-- 1 peekio peekio 3.0K May  7  2020 newsletter.html
-rw-r--r-- 1 peekio peekio 2.3K Jan  8  2020 product.html
-rw-r--r-- 1 peekio peekio 3.3K Mar 10  2020 product-list.html
-rw-r--r-- 1 peekio peekio 1.7K Jan  9  2020 product-search.html
-rw-r--r-- 1 peekio peekio 5.9K Aug 10  2020 search.html
-rw-r--r-- 1 peekio peekio 4.7K Nov 11  2020 search_results.html
-rw-r--r-- 1 peekio peekio 3.6K Mar 31  2020 services.html
-rw-r--r-- 1 peekio peekio 3.9K Nov 17  2020 signup_form.html
-rw-r--r-- 1 peekio peekio 1.9K Sep 22  2020 signup_success.html
-rw-r--r-- 1 root   root    702 Oct  5 12:06 treecats.xml
-rw-r--r-- 1 peekio peekio 2.3K Sep 22  2020 user_home.html
-rw-r--r-- 1 peekio peekio 2.3K Oct 12  2020 validate_form.html
-rw-r--r-- 1 peekio peekio   95 Nov  9  2020 validate_success.html
-rw-r--r-- 1 peekio peekio  648 Oct  9  2020 xml_search_results.xml

Note the lack of .html files. It has all the folders, but only 5 files for some reason. And typically, the missing ones are one of the ones I needed to restore :frowning:

Anyway - I’ve sorted the issue out (with the file I needed to restore), but I need to understand why this isn’t working properly. I thought maybe it was a corrupt DB or something, but I did a full file backup again, and once it finished those files were still not there :confused:

Any suggestions on what I can do to debug?

Thanks

Andy

Duh… I figured it out. Was an exclusion rule I had!

/home/*/peekio.com/public_html/*/*.html

I wanted to exclude built files, but looks like that also stopped it from backing up some of the templates. I’ve tweaked it to:

/home/*/peekio.com/public_html/*/index.html;/home/*/peekio.com/public_html/*/more*.html

…and that works now :slight_smile:

Cheers

Andy

2 Likes

Thanks for the update. Very helpful.