Destination folder not created and no error in the log file!

Get help for specific problems
Posts: 23
Joined: 26 Mar 2021

untroll

Hello,

I configured a batch file which includes 2 variables in the destination path. The error log contains a warning but no file were copied (it should trigger an error!). Here's the warning :
23:00:04     Warning:     The following folders do not yet exist:
\\TVS471\access\Backup\Quotidien\Thu\23h00
The folders are created automatically when needed.
Also, there is no detail about the files that were not copied.

The destination folder in my batch configuration file is :
\\TVS471\access\Backup\Quotidien\%WeekDayName%\%Hour%h00\
Before the backup, "\\TVS471\access\Backup\Quotidien\Thu\" already exists but not the "23h00" folder. And the folder has not been automatically created.

Could you please help and fix this?
User avatar
Posts: 4055
Joined: 11 Jun 2019

xCSxXenon

What if you create that folder manually, will it copy the data into it?
Posts: 23
Joined: 26 Mar 2021

untroll

Yes it works manually!

If I create the folder and I run the backup again, it will backup the files inside...
User avatar
Posts: 4055
Joined: 11 Jun 2019

xCSxXenon

I would wager that FFS is not to blame. Are you on the most recent version? What is hosting the NAS?
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

If there are no files to copy, FFS skips the folder pair. Consequently, the target folder will not be created. This could be changed, but there is little value with creating an empty folder.
User avatar
Posts: 4055
Joined: 11 Jun 2019

xCSxXenon

Sounds like there are files in the folder though
Posts: 23
Joined: 26 Mar 2021

untroll

Sorry everyone,

My bug was caused by a filter which excluded every files in the destination folder. Eveything is working fine now!

Shame on me!