The support forum

Copy only a particular file type

MWorthington :

Nov 28, 2020

Hi Alex,

I am using a backup job with "Destination As Source & Selected Folders". This works fine when I simply "Start with an empty list" and select the relevant folder.

However, I only want to copy .thm files, and expect this process to create the folder structure in which these .thm files exist.

I read https://bvckup2.com/support/forum/topic/972 and applied this. However, I edit the backup job's settings.ini file to set

conf.filters.src.default.is_final        1

(with Bvckup closed) but it's not remembered. The next time I run Bvckup, this reverts to 0 and the job copies all .thm files from the parent folder.

I think I'm missing something!

Regards,

Mark

Alex Pankratov :

Nov 29, 2020

Mark, try adding the override this way - https://bvckup2.com/support/forum/topic/1140

MWorthington :

Nov 30, 2020

Thanks, Alex, I will look into this!

Mark

MWorthington :

Nov 30, 2020

For got to say, sholuld this link be added to the Including/excluding files and folders post https://bvckup2.com/support/forum/topic/972 ?

Alex Pankratov :

Nov 30, 2020

Good idea, thanks. Added.

MWorthington :

Nov 30, 2020

Hi Alex,

Right, I created the override.ini file (also adding "Excluding empty folders" ref https://bvckup2.com/support/forum/topic/617, which itself references using the override.ini file!). I have set up "Destination As Source".

My source is D:\Media, Start with an empty list, select the folder "D:\Media\Cycling" (which has 39 .thm files). Target is a folder "D:\jAlbum\Input\!\" with one pre-existing sub folder.

I run the job, and those 39 files in their respective folders are copied. No empty folders, and the pre-existing folder/files are untouched.

I then deselected "D:\Media\Cycling" and chose "D:\Media\Cycling\Early Years" which has 2 .thm files.

I deleted the previously created "D:\jAlbum\Input\!\Cycling" folder, and run the job. I expect to see "D:\jAlbum\Input\!\Cycling\Early Years" with 2 ,thm files.

However, nothing is copied. It seems only to work for first-level folders.

Regards,

Mark

Alex Pankratov :

Dec 01, 2020

I can't reproduce this.

Here are the overrides I have -

   conf.filters.src.default.is_final        1
   conf.scanning.skip_empty_folders         1
   conf.filters.dst.as_source   1

The source
   .\Cycling\
   .\Cycling\Folder\4.xyz
   .\Cycling\Folder\5.xyz
   .\Cycling\1.xyz
   .\Cycling\2.xyz
   .\Cycling\3.xyz

The destination
   .\Somefolder\somefile.txt

Run #1 - In Backup What, select "Start with an empty list", select "Cycling", do nothing else, the list at the bottom is empty. Run the job, see Cycling appear in its entirety. Somefolder remains.

Run #2 - Delete Cycling from destination. In Backup What, uncheck "Cycling", check "Folder", OK the changes. The log says "Forcing destination rescan". Run the job. Destination gets

   .\Cycling\Folder\4.xyz
   .\Cycling\Folder\5.xyz

Somefolder remains. I.e. it works as expected.

MWorthington :

Dec 01, 2020

Alex,

Thanks for your prompt reply. Even though I'm watching my own thread, I'm not getting email notifications .... let's see if anything pops up from this one.

Yes, it would seem to work as expected! I will experiment further , tonight (and maybe update the conf.filters.dst.as_source   1 method into the overrides.ini, just for completeness and continuity in my backup jobs).

Cheers,

Mark

Alex Pankratov :

Dec 01, 2020

You need to check "New posts in watched topics" under "Email notifications" here - https://bvckup2.com/support/forum/account

MWorthington :

Dec 01, 2020

mmmm, must have turned this off .... thanks for the pointer!

MWorthington :

Dec 01, 2020

Alex,

I've sent you an email ....

Cheers,

Mark

MWorthington :

Dec 01, 2020

In the meantime, my particular backup job extracted & copied 2965 .thm files in 553 folders, as part of a web album build process. Wow, I never thought I could use Bvckup to help me in this way! :)

New topic

Create
Made by IO Bureau in Switzerland
Support

Updates Newsletter
Blog & RSS
Follow Twitter
Reddit
Miscellanea Press kit
Testimonials
Company Imprint

Legal Terms
Privacy