Skip to main content
Solved

Automatic backup


boubcher
Contributor
Forum|alt.badge.img+11

We want to use FME server in order to copie/backup files , Application , database and store it in safe area , at the oment the task is done manualy , each time system admin will have to go trough all those files , and backup the to the specific location

Best answer by stalknecht

You can create a workspace with a "Directory and File Pathnames"-reader to read the sources and use a "File Copy"-writer to write to another destination.

View original
Did this help you find an answer to your question?

5 replies

stalknecht
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • January 7, 2018

You can create a workspace with a "Directory and File Pathnames"-reader to read the sources and use a "File Copy"-writer to write to another destination.


david_r
Evangelist
  • January 8, 2018
stalknecht wrote:

You can create a workspace with a "Directory and File Pathnames"-reader to read the sources and use a "File Copy"-writer to write to another destination.

I agree. If they need to trigger the actual database backup as well, there's also SystemCaller and the SQLExecutor.

boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • January 10, 2018

Thanks, Guys Will give it a tray


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • January 18, 2018

Thanks guys

any idea how to add the date to the file name, written in the destination folder just to keep track of the backup

alos the overwrite option in writer file copy when set to no , still we are getting only one file


stalknecht
Contributor
Forum|alt.badge.img+19
  • Contributor
  • January 19, 2018
boubcher wrote:

Thanks guys

any idea how to add the date to the file name, written in the destination folder just to keep track of the backup

alos the overwrite option in writer file copy when set to no , still we are getting only one file

If you want dates from the original file then you should set to retrieve file properties.

You must format the dates so it's accepted as a valid filename. (No special characters like +)

 

If you need the current timestamp you can use the @DateTimeNow() function.

 

Here is an example:

 

If you set "overwrite existing file" to NO then it will not make a copy if the file is already there. So this is by design

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings