Skip to main content
Solved

Automatic backup

  • January 7, 2018
  • 5 replies
  • 51 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

stalknecht
Contributor
Forum|alt.badge.img+22
  • 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
Celebrity
  • January 8, 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.

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+22
  • Contributor
  • January 19, 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

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