Menu

#369 Backup continuously fails

closed
aventin
5
2012-10-08
2011-03-23
Dan Santoni
No

A very very promising product btw, hoping I can make it work with your help. Thanks.

F.Y.I. The Target drive referred to below ("VERBATIM") is a FAT32 formatted USB drive. I am able to write to it using rsync ok so currently don't suspect it of being at fault but happy to be corrected on that.

OS = Ubuntu Linux 10.10 Maverick Meerkat
Java 1.6.0.24
Executing Areca via GUI and selecting "Incremental". Backup worked fine when I included only /bin and /.log (as an experiment. Then I incrementally added the extra folders listed below and it began failing with "Caused by: java.io.FileNotFoundException: /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0/dev/.udev/db/block:fd0 (Invalid argument)" error (details below).

Am using zip64 compression at level 9 and splitting the archive at 50meg allowing 4 chars for the archive names (using these criteria to eliminate previous errors which caused the backup to fail due to too many files in the archive).

Backup config xml

<target version="7" uid="1242070071" follow_symlinks="false" register_empty_directories="true" follow_subdirs="true" xml_security_copy="true" name="Root" forward_preproc_errors="true" description="">








<medium type="zip" policy="hd" path="/media/VERBATIM/Media Center backup/ArecaBkup/1242070071" archive_name="%YY%%MM%%DD%" encrypted="false" track_permissions="true" overwrite="false" volume_size="50" volume_digits="5" zip_level="4" zip_ext="true" zip_charset="UTF-8" zip64="true">
<handler type="standard"/>
<transaction_configuration use_transactions="true" transaction_size="51200"/>
</medium>

<filter_group logical_not="false" operator="and">

<extension_filter logical_not="true">
<ext>.tmp</ext>
<ext>.temp</ext>
</extension_filter>
<locked_filter logical_not="true"/>
</filter_group>
<shell_processor execute_after="false" run_if_success="true" run_if_error="true" run_if_warning="true" script="/home/dan/Documents/software/EmptyTrash.sh" parameters=""/>
</target>

I repeatedly get the following error;

11-03-23 21:46 - INFO - Committing backup ...
11-03-23 21:46 - INFO - Creating a copy of the target's XML configuration ...
11-03-23 21:46 - INFO - Creating a XML backup copy of target "Root" on : /media/VERBATIM/Media Center backup/ArecaBkup/areca_config_backup
11-03-23 21:46 - INFO - Commit completed.
11-03-23 21:46 - INFO - 349,166 kb read in 225 seconds.
11-03-23 21:46 - INFO - Average data input : 1,549 kb/second.
11-03-23 21:46 - INFO - 72,685 kb written in 225 seconds.
11-03-23 21:46 - INFO - Average data output : 322 kb/second.
11-03-23 21:46 - INFO - Checking archive (working directory : /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0) ...
11-03-23 21:46 - INFO - Recovering from Mar 23, 2011 9:42 PM to Mar 23, 2011 9:42 PM.
11-03-23 21:46 - INFO - Adding /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/110323_2 (Incremental backup) to recovery list.
11-03-23 21:46 - INFO - Deleted entries won't be recovered.
11-03-23 21:46 - INFO - Recovery filter : /
11-03-23 21:46 - INFO - 1 archives will be processed.
11-03-23 21:46 - INFO - Files will be recovered in /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0
11-03-23 21:46 - INFO - Recovering in optimized mode.
11-03-23 21:46 - INFO - 6171 files will be recovered.
11-03-23 21:46 - INFO - Registring a new file system driver : Mount Point = /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0, Driver = [com.myJava.file.driver.contenthash.ContentHashFileSystemDriver - Predecessor = [com.myJava.file.driver.event.EventFileSystemDriver - Identifier = "Areca repository access" - Predecessor = [com.myJava.file.driver.DefaultFileSystemDriver] ] ]
11-03-23 21:46 - INFO - Data recovery ...
11-03-23 21:46 - INFO - Recovering /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/110323_2 (6171 files) ...
11-03-23 21:46 - ERROR - java.io.FileNotFoundException: /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0/dev/.udev/db/block:fd0 (Invalid argument)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at com.myJava.file.driver.DefaultFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.DefaultFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.event.EventFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.contenthash.ContentHashFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.FileSystemManager.getFileOutputStream(Unknown Source)
at com.myJava.file.archive.ArchiveReader.injectIntoDirectory(Unknown Source)
at com.application.areca.impl.IncrementalZipMedium.ensureLocalCopy(Unknown Source)
at com.application.areca.impl.IncrementalZipMedium.ensureLocalCopy(Unknown Source)
at com.application.areca.impl.handler.DefaultArchiveHandler.recoverRawData(Unknown Source)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.recoverImpl(Unknown Source)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.recover(Unknown Source)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.checkArchives(Unknown Source)
at com.application.areca.impl.FileSystemTarget.processArchiveCheck(Unknown Source)
at com.application.areca.AbstractTarget.processBackup(Unknown Source)
at com.application.areca.ActionProxy.processBackupOnTarget(Unknown Source)
at com.application.areca.launcher.gui.Application$9.runCommand(Unknown Source)
at com.application.areca.launcher.gui.Application$ProcessRunner.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)

11-03-23 21:46 - INFO - Unregistring file system driver : Mount Point = /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0, Driver = [com.myJava.file.driver.contenthash.ContentHashFileSystemDriver - Predecessor = [com.myJava.file.driver.event.EventFileSystemDriver - Identifier = "Areca repository access" - Predecessor = [com.myJava.file.driver.DefaultFileSystemDriver] ] ]
11-03-23 21:46 - ERROR - java.io.FileNotFoundException: /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0/dev/.udev/db/block:fd0 (Invalid argument)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at com.myJava.file.driver.DefaultFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.DefaultFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.event.EventFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.contenthash.ContentHashFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.FileSystemManager.getFileOutputStream(Unknown Source)
at com.myJava.file.archive.ArchiveReader.injectIntoDirectory(Unknown Source)
at com.application.areca.impl.IncrementalZipMedium.ensureLocalCopy(Unknown Source)
at com.application.areca.impl.IncrementalZipMedium.ensureLocalCopy(Unknown Source)
at com.application.areca.impl.handler.DefaultArchiveHandler.recoverRawData(Unknown Source)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.recoverImpl(Unknown Source)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.recover(Unknown Source)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.checkArchives(Unknown Source)
at com.application.areca.impl.FileSystemTarget.processArchiveCheck(Unknown Source)
at com.application.areca.AbstractTarget.processBackup(Unknown Source)
at com.application.areca.ActionProxy.processBackupOnTarget(Unknown Source)
at com.application.areca.launcher.gui.Application$9.runCommand(Unknown Source)
at com.application.areca.launcher.gui.Application$ProcessRunner.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)

11-03-23 21:46 - INFO - Deleting recovered files (/media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0) ...
11-03-23 21:46 - INFO - Recovered files deleted.
11-03-23 21:46 - ERROR - An error has been caught : - com.application.areca.ApplicationException: java.io.FileNotFoundException: /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0/dev/.udev/db/block:fd0 (Invalid argument)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.recoverImpl(Unknown Source)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.recover(Unknown Source)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.checkArchives(Unknown Source)
at com.application.areca.impl.FileSystemTarget.processArchiveCheck(Unknown Source)
at com.application.areca.AbstractTarget.processBackup(Unknown Source)
at com.application.areca.ActionProxy.processBackupOnTarget(Unknown Source)
at com.application.areca.launcher.gui.Application$9.runCommand(Unknown Source)
at com.application.areca.launcher.gui.Application$ProcessRunner.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.io.FileNotFoundException: /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0/dev/.udev/db/block:fd0 (Invalid argument)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at com.myJava.file.driver.DefaultFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.DefaultFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.event.EventFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.contenthash.ContentHashFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.FileSystemManager.getFileOutputStream(Unknown Source)
at com.myJava.file.archive.ArchiveReader.injectIntoDirectory(Unknown Source)
at com.application.areca.impl.IncrementalZipMedium.ensureLocalCopy(Unknown Source)
at com.application.areca.impl.IncrementalZipMedium.ensureLocalCopy(Unknown Source)
at com.application.areca.impl.handler.DefaultArchiveHandler.recoverRawData(Unknown Source)
... 9 more

11-03-23 21:46 - ERROR - An error has been caught : - com.application.areca.ApplicationException: java.io.FileNotFoundException: /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0/dev/.udev/db/block:fd0 (Invalid argument)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.recoverImpl(Unknown Source)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.recover(Unknown Source)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.checkArchives(Unknown Source)
at com.application.areca.impl.FileSystemTarget.processArchiveCheck(Unknown Source)
at com.application.areca.AbstractTarget.processBackup(Unknown Source)
at com.application.areca.ActionProxy.processBackupOnTarget(Unknown Source)
at com.application.areca.launcher.gui.Application$9.runCommand(Unknown Source)
at com.application.areca.launcher.gui.Application$ProcessRunner.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.io.FileNotFoundException: /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0/dev/.udev/db/block:fd0 (Invalid argument)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at com.myJava.file.driver.DefaultFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.DefaultFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.event.EventFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.driver.contenthash.ContentHashFileSystemDriver.getFileOutputStream(Unknown Source)
at com.myJava.file.FileSystemManager.getFileOutputStream(Unknown Source)
at com.myJava.file.archive.ArchiveReader.injectIntoDirectory(Unknown Source)
at com.application.areca.impl.IncrementalZipMedium.ensureLocalCopy(Unknown Source)
at com.application.areca.impl.IncrementalZipMedium.ensureLocalCopy(Unknown Source)
at com.application.areca.impl.handler.DefaultArchiveHandler.recoverRawData(Unknown Source)
... 9 more

11-03-23 21:46 - ERROR - The created archive (/media/VERBATIM/Media Center backup/ArecaBkup/1242070071/110323_2) was not successfully checked (got the following error : java.io.FileNotFoundException: /media/VERBATIM/Media Center backup/ArecaBkup/1242070071/chk0/dev/.udev/db/block:fd0 (Invalid argument)). It will be deleted.
11-03-23 21:46 - INFO - Deletion in progress ...
11-03-23 21:46 - INFO - Starting deletion from Mar 23, 2011 9:42 PM.
11-03-23 21:46 - INFO - Deleting 110323_2 ...
11-03-23 21:46 - INFO - Deletion completed - 1 archive deleted.
11-03-23 21:46 - INFO - Deletion completed.
11-03-23 21:46 - INFO - Backup completed.
11-03-23 21:46 - INFO - Backup completed on Root (1242070071)

Discussion

  • aventin

    aventin - 2011-03-25

    Hi

    I'm not surprised that backup fails on your /dev directory, as it contains "device" files. Those files cannot be handled by Areca, which only handles standard files, pipes and symbolic links.

    BTW, don't you have any warning about a "metadata accessor" issue on Areca's startup ?

     
  • Dan Santoni

    Dan Santoni - 2011-03-26

    Hi Aventin, thanks. I'm new to Linux so while I'm not sure I understand why yet, I do understand that I should exclude /dev from the backup.
    I don't get any errors on startup at all but given my inexperience, I may not be looking in all the right places. Certtainly there are no idiot box messages issued through the UI.
    Anyhow, it may be some time before I can experiment further but thanks for the quick response.

     
  • Dan Santoni

    Dan Santoni - 2011-03-26

    Closed as problem appears to be user error. Thanks

     

Log in to post a comment.