Community
Showing results for 
Search instead for 
Do you mean 
Reply

Scheduled Back Up File Name / Length

Copper Contributor
Posts: 40
Country: United States

Re: Scheduled Back Up File Name / Length

The ACT scheduler ALWAYS creates file names for the backup like

Act! DATABASE_NAME da7e2fced85a422eb31fda7a92f7b740 2017-11-21 15-18-01

always has and probably always will

If you are having a path length error, try creating a folder like C:\ACT and store the backup there.  This will shorten the overall path to

C:\ACT\Act! DATABASE_NAME da7e2fced85a422eb31fda7a92f7b740 2017-11-21 15-18-01

You could save directly to C:\  and save another 4 characters if needed

Rich Gehlbach
richgehl@roadrunner.com
Administrator
Posts: 1,372
Country: United_Kingdom

Re: Scheduled Back Up File Name / Length

This isn't something I've come across before, and I can confirm that my own database backups do save as just "Act! TestDB 2017-11-24 09-01-04" without any unique character string.

I wonder if it's an operating system issue? What version of Windows is running in these cases?

Rich is correct though, you can shorten the file path, as well as even shortening the name of the database if you want to reduce the character length.
Tuned Listener
Posts: 112
Country: United_Kingdom

Re: Scheduled Back Up File Name / Length

I've moved the file path to a much shorter location and changed the 'save as' to a 2 letter name. But it is still too long to save on OneDrive.

 

 

I'm using Windows 10 Home on 64 bit system. It's only a few months old and is a good spec PC.

 

Now I know I'm not alone with this issue, can you offer a solution to reduce to file name please?

Tuned Listener
Posts: 112
Country: United_Kingdom

Re: Scheduled Back Up File Name / Length

PS Just noticed that ACT is no longer saving the back-up as a zip file - just a 'file'.

 

Is that OK as a back-up?

Tuned Listener
Posts: 112
Country: United_Kingdom

Re: Scheduled Back Up File Name / Length

Scratch that last post - I'd completely changed the 'save as' to 2 characters & deleted the .zip part.

 

Just need help on removing the spurious characters to reduce file name size please.

Administrator
Posts: 1,372
Country: United_Kingdom

Re: Scheduled Back Up File Name / Length

Hi TZAL,

It's strange that OneDrive is telling you that the file name is too long, as the filename + path limit should be 430 characters for a OneDrive file. I appreciate that there are extra junk characters being generated in the name, and hopefully we can resolve that - but even still it sounds like there's something going on with your OneDrive folder that's causing this to be an issue.

Is the file path to your OneDrive folder particularly long?
Tuned Listener
Posts: 112
Country: United_Kingdom

Re: Scheduled Back Up File Name / Length

Hi Jon

 

I've tried the following:

 

  • Moved the file to a short-length location
  • Reduced save-as name to minimum
  • Renamed /shortened file i.e. removed junk

But it still won't save or even manually upload to OneDrive.

 

I have checked that other zip folders work OK uploading & opening on OneDrive.

 

However, I have just tested the ACT auto back-ups and discovered that they won't open on my PC. Error 

 

"Compressed (zip) folders error - access to the compressed (zip folder FILENAME denied"

 

Manual ACT back-ups open OK.

 

So it seems that there is something wrong with the auto back-up!

 

Administrator
Posts: 1,372
Country: United_Kingdom

Re: Scheduled Back Up File Name / Length

Do you have the password protected file option turned on?

 

The setting is in the Task settings:

Act.Scheduler.UI_2017-11-27_11-51-09.png

 

 

 

Or is this disabled?

 

Does your drive have any compression or encryption enabled?

 

Tuned Listener
Posts: 112
Country: United_Kingdom

Re: Scheduled Back Up File Name / Length

A bit more info:

 

If I cut & paste the auto back-up into another location, the zip file opens fine. I can then put it back into the original location and again, it will open.

 

Tried setting up a new auto back-up in an even shorter length location - same problem, access denied & not saving on OneDrive.

 

Also, tried restoring from the auto backup - get error:

 

"FILENAME you don't have permission to open this file - contact the file owner or an administrator to obtain permission"

Tuned Listener
Posts: 112
Country: United_Kingdom

Re: Scheduled Back Up File Name / Length

No, not password protected.