3 Replies Latest reply: Mar 7, 2008 5:59 AM by 807581 RSS

    backup domain file

    807581
      I took a backup of a domain using this command:

      %asadmin> backup-domain domaindir /var/opt/SUNWappserver/domains verbose=true domain1

      successfully found a sjsas*V0001.zip file in installdir/domains/domain2/backup folder.

      When I tried to open it to check for the files in from local system and see an error:
      Cannot open file; it doesnot appear to be a valid archive..

      Can anybody tell me what this error mean?

      When I viewed the error output from WinZip, this is what I get:
      End-of-central-directory signature not found. Either this file is not a Zip file, or it constitutes one disk of a multi-part Zip file.
        • 1. Re: backup domain file
          807581
          I am using SUN Java System Application Server8.1EE.
          • 2. Re: backup domain file
            807581
            asadmin> backup-domain domaindir /var/opt/SUNWappserver/domains verbose=true domain1
            May 17, 2007 4:13:20 PM com.sun.enterprise.config.backup.LoggerHelper finest
            FINEST: Request DUMP **********
            Class Modifiers Field Value

            BackupRequest static final excludeDirs [Ljava.lang.String;@15093f1
            BackupRequest (package) domainsDir /var/opt/SUNWappserver/domains
            BackupRequest (package) domainName domain1
            BackupRequest (package) description 1179432800024
            BackupRequest (package) backupFile /var/opt/SUNWappserver/domains/domain1/backups/sjsas_backup_v00001.zip
            BackupRequest (package) domainDir /var/opt/SUNWappserver/domains/domain1
            BackupRequest (package) timestamp 1179432800024
            BackupRequest (package) backupDir <null>
            BackupRequest (package) terse false
            BackupRequest (package) verbose true

            May 17, 2007 4:13:20 PM com.sun.enterprise.config.backup.LoggerHelper fine
            FINE: Writing /var/opt/SUNWappserver/domains/domain1/backups/sjsas_backup_v00001.zip
            com.sun.enterprise.config.backup.BackupException: Error writing Zip file: /var/opt/SUNWappserver/domains/domain1/backups/sjsas_backup_v00001.zip
            • 3. Re: backup domain file
              807581
              Hi,

              can anybody solve this problem? I use Application Server 9.1 on Red Hat Enterprise Linux 5.1, and asadmin utility backup-domain command also failed with same error message.

              /opt/sun/appserver/bin/asadmin backup-domain
              --domaindir /opt/sun/appserver/domains
              --description "Test backup" domain1

              com.sun.enterprise.config.backup.BackupException: Error writing Zip file:
              /opt/sun/appserver/domains/domain1/backups/sjsas_backup_v00001.zip