Sql Backup And FTP

Welcome Guest Search | Active Topics | Log In | Register
New Topic Post Reply
Failure * Backup to a Network Drive - fritz.nas on Fritzbox 7390 Options · View
Gerd
#1 Posted : Tuesday, August 09, 2011 8:14:28 AM Quote
Rank: Guest

Groups:

Joined: 8/10/2009
Posts: 725
I test the free Version V6.1.2.16618 and have a problem with the destination backup folder.
When i use a folder on a local Hard Drive it works perfect :-)

I have a AVM Fritz!Box Fon WLAN 7390 with a 16GB USB Stick as extended Memory for NAS function.
In my local System i have the fritz.nas as a network drive Z:\
When i now configure the Fritzbox NAS Drive in sqlbackupandftp as the Backup Drive and i use the "Run Now" button then it works perfect like with the local hard drive.

but when i run the job as a scheduled service i become a failure notice that the destination path is wrong.


Code:

>>> run 09.08.2011 14:22:39 by Admin [b](run with "Run Now" button)[/b]

SqlBackupAndFtp 6.1.2.16618 Free

SUMMARY:
Database Mandant_9: Backup - Success

DETAILED LOG:    
09.08.2011 14:19:02    Creating backup of Mandant_9 to C:\WINDOWS\TEMP
09.08.2011 14:19:30    Backup of Mandant_9 completed
09.08.2011 14:19:30    Zipping C:\WINDOWS\TEMP\Mandant_9201108091419.bak to C:\WINDOWS\TEMP\Mandant_9201108091419.zip
09.08.2011 14:21:17    Zip completed (compressed size: 358.466 KB)
09.08.2011 14:21:17    Copying C:\WINDOWS\TEMP\Mandant_9201108091419.zip to Z:\General-USBFlashDisk-01\Backup\Mandant_9201108091419.zip
09.08.2011 14:22:38    Removing the backup: C:\WINDOWS\TEMP\Mandant_9201108091419.bak
09.08.2011 14:22:38    Removing Mandant_9201108091419.zip from C:\WINDOWS\TEMP
09.08.2011 14:22:38    Cleaning Z:\General-USBFlashDisk-01\Backup
09.08.2011 14:22:38    Sending a report (Success) to mail@server.de (Automatic)
09.08.2011 14:22:39    The report has been successfully sent
09.08.2011 14:22:39    Job finished


>>> run 09.08.2011 14:17:25 by Admin [b](run as scheduled backup)[/b]

SqlBackupAndFtp 6.1.2.16618 Free (run as service)

SUMMARY:
Database Mandant_9: Backup - Failure

DETAILED LOG:    
09.08.2011 14:15:08    Creating backup of Mandant_9 to C:\WINDOWS\TEMP
09.08.2011 14:15:37    Backup of Mandant_9 completed
09.08.2011 14:15:37    Zipping C:\WINDOWS\TEMP\Mandant_9201108091415.bak to C:\WINDOWS\TEMP\Mandant_9201108091415.zip
09.08.2011 14:17:22    Zip completed (compressed size: 358.466 KB)
09.08.2011 14:17:22    Copying C:\WINDOWS\TEMP\Mandant_9201108091415.zip to Z:\General-USBFlashDisk-01\Backup\Mandant_9201108091415.zip
09.08.2011 14:17:22    ERROR: Zip file copying failed: Ein Teil des Pfades "Z:\General-USBFlashDisk-01\Backup\Mandant_9201108091415.zip" konnte nicht gefunden werden.
09.08.2011 14:17:22    ERROR: Zip failed: Job failed
09.08.2011 14:17:22    Removing the backup: C:\WINDOWS\TEMP\Mandant_9201108091415.bak
09.08.2011 14:17:22    Removing Mandant_9201108091415.zip from C:\WINDOWS\TEMP
09.08.2011 14:17:22    Cleaning Z:\General-USBFlashDisk-01\Backup
09.08.2011 14:17:22    WARNING: Removing old local files failed: Ein Teil des Pfades "Z:\General-USBFlashDisk-01\Backup" konnte nicht gefunden werden.
09.08.2011 14:17:22    Sending a report (Failure) to mail@server.de (Automatic)
09.08.2011 14:17:25    The report has been successfully sent
09.08.2011 14:17:25    ERROR: Job finished (With Errors)


>>> run 09.08.2011 14:09:49 by Admin [b](run with "Run Now" button)[/b]

SqlBackupAndFtp 6.1.2.16618 Free

SUMMARY:
Database Mandant_9: Backup - Success

DETAILED LOG:    
09.08.2011 14:05:49    Creating backup of Mandant_9 to C:\WINDOWS\TEMP
09.08.2011 14:06:17    Backup of Mandant_9 completed
09.08.2011 14:06:17    Zipping C:\WINDOWS\TEMP\Mandant_9201108091405.bak to C:\WINDOWS\TEMP\Mandant_9201108091405.zip
09.08.2011 14:08:24    Zip completed (compressed size: 358.466 KB)
09.08.2011 14:08:24    Copying C:\WINDOWS\TEMP\Mandant_9201108091405.zip to Z:\General-USBFlashDisk-01\Backup\Mandant_9201108091405.zip
09.08.2011 14:09:45    Removing the backup: C:\WINDOWS\TEMP\Mandant_9201108091405.bak
09.08.2011 14:09:45    Removing Mandant_9201108091405.zip from C:\WINDOWS\TEMP
09.08.2011 14:09:45    Cleaning Z:\General-USBFlashDisk-01\Backup
09.08.2011 14:09:46    Sending a report (Success) to mail@server.de (Automatic)
09.08.2011 14:09:49    The report has been successfully sent
09.08.2011 14:09:49    Job finished


can you please check this? what is wrong?
mikeshilov
#2 Posted : Tuesday, August 09, 2011 8:34:41 AM Quote
Rank: Administration

Groups: Administrators

Joined: 8/12/2009
Posts: 271
Try to specify UNC path (like \\fritz.nas\) instead of mapped network drive (Z:\)
Gerd
#3 Posted : Tuesday, August 09, 2011 11:01:40 AM Quote
Rank: Guest

Groups:

Joined: 8/10/2009
Posts: 725
i have try it, but the same failure

with "Run Now" button run the Job without failure
as a scheduled Job comes now a other failure (and i see the Problem)

Code:

>>> run 09.08.2011 17:21:31 by Admin

SqlBackupAndFtp 6.1.2.16618 Free

SUMMARY:
Database Mandant_9: Backup - Success

DETAILED LOG:    
09.08.2011 17:17:58    Creating backup of Mandant_9 to C:\WINDOWS\TEMP
09.08.2011 17:18:26    Backup of Mandant_9 completed
09.08.2011 17:18:26    Zipping C:\WINDOWS\TEMP\Mandant_9201108091717.bak to C:\WINDOWS\TEMP\Mandant_9201108091717.zip
09.08.2011 17:20:09    Zip completed (compressed size: 358.466 KB)
09.08.2011 17:20:09    Copying C:\WINDOWS\TEMP\Mandant_9201108091717.zip to \\fritz.nas\FRITZ.NAS\General-USBFlashDisk-01\Backup\Mandant_9201108091717.zip
09.08.2011 17:21:30    Removing the backup: C:\WINDOWS\TEMP\Mandant_9201108091717.bak
09.08.2011 17:21:30    Removing Mandant_9201108091717.zip from C:\WINDOWS\TEMP
09.08.2011 17:21:30    Cleaning \\fritz.nas\FRITZ.NAS\General-USBFlashDisk-01\Backup
09.08.2011 17:21:30    Sending a report (Success) to mail@server.de (Automatic)
09.08.2011 17:21:31    The report has been successfully sent
09.08.2011 17:21:31    Job finished


>>> run 09.08.2011 17:17:26 by Admin

SqlBackupAndFtp 6.1.2.16618 Free (run as service)

SUMMARY:
Database Mandant_9: Backup - Failure

DETAILED LOG:    
09.08.2011 17:15:10    Creating backup of Mandant_9 to C:\WINDOWS\TEMP
09.08.2011 17:15:39    Backup of Mandant_9 completed
09.08.2011 17:15:39    Zipping C:\WINDOWS\TEMP\Mandant_9201108091715.bak to C:\WINDOWS\TEMP\Mandant_9201108091715.zip
09.08.2011 17:17:23    Zip completed (compressed size: 358.466 KB)
09.08.2011 17:17:23    Copying C:\WINDOWS\TEMP\Mandant_9201108091715.zip to \\fritz.nas\FRITZ.NAS\General-USBFlashDisk-01\Backup\Mandant_9201108091715.zip
09.08.2011 17:17:23    ERROR: Zip file copying failed: Anmeldung fehlgeschlagen: unbekannter Benutzername oder falsches Kennwort.

09.08.2011 17:17:23    ERROR: Zip failed: Job failed
09.08.2011 17:17:23    Removing the backup: C:\WINDOWS\TEMP\Mandant_9201108091715.bak
09.08.2011 17:17:23    Removing Mandant_9201108091715.zip from C:\WINDOWS\TEMP
09.08.2011 17:17:23    Cleaning \\fritz.nas\FRITZ.NAS\General-USBFlashDisk-01\Backup
09.08.2011 17:17:23    WARNING: Removing old local files failed: Anmeldung fehlgeschlagen: unbekannter Benutzername oder falsches Kennwort.

09.08.2011 17:17:23    Sending a report (Failure) to mail@server.de (Automatic)
09.08.2011 17:17:26    The report has been successfully sent
09.08.2011 17:17:26    ERROR: Job finished (With Errors)


the fritz.nas is Password protected for other network clients but this machine is always logged in and i have the NAS path mapped to a drive letter.
when i try the path with a browser or explorer comes no login screen and the Backup with the "run now" button works.

I have disable the password protection for a test and in this case work the backup as a scheduled Job on the UNC path
with the mapped network drive comes the same failure like in the first post (wrong path)

Code:

>>> run 09.08.2011 17:39:47 by Admin

SqlBackupAndFtp 6.1.2.16618 Free (run as service)

SUMMARY:
Database Mandant_9: Backup - Success

DETAILED LOG:    
09.08.2011 17:36:10    Creating backup of Mandant_9 to C:\WINDOWS\TEMP
09.08.2011 17:36:39    Backup of Mandant_9 completed
09.08.2011 17:36:39    Zipping C:\WINDOWS\TEMP\Mandant_9201108091736.bak to C:\WINDOWS\TEMP\Mandant_9201108091736.zip
09.08.2011 17:38:24    Zip completed (compressed size: 358.466 KB)
09.08.2011 17:38:24    Copying C:\WINDOWS\TEMP\Mandant_9201108091736.zip to \\fritz.nas\FRITZ.NAS\General-USBFlashDisk-01\Backup\Mandant_9201108091736.zip
09.08.2011 17:39:44    Removing the backup: C:\WINDOWS\TEMP\Mandant_9201108091736.bak
09.08.2011 17:39:44    Removing Mandant_9201108091736.zip from C:\WINDOWS\TEMP
09.08.2011 17:39:44    Cleaning \\fritz.nas\FRITZ.NAS\General-USBFlashDisk-01\Backup
09.08.2011 17:39:44    Sending a report (Success) to mail@server.de (Automatic)
09.08.2011 17:39:47    The report has been successfully sent
09.08.2011 17:39:47    Job finished


can you check why with password protection the backup works only with the "run now" button or can you define a login on password protected NAS for scheduled backups?

i can not use the NAS without protection for other Clients in the Network.
mikeshilov
#4 Posted : Wednesday, August 10, 2011 2:24:47 AM Quote
Rank: Administration

Groups: Administrators

Joined: 8/12/2009
Posts: 271
Gerd, when scheduled job is run it logins to the system anew under the specified user account and your password protection may not be applied to this user session. Since we don't know how this password protection works I don't think we can do anything here. If you can't disable password protection I suggest you to find an alternative storage for keeping your backups.
Quick Reply Show Quick Reply
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You can create polls in this forum.
You can vote in polls in this forum.