You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Jeff Turner (JIRA)" <ji...@apache.org> on 2010/10/29 06:31:20 UTC

[jira] Created: (INFRA-3125) Remote backups on thor breaking

Remote backups on thor breaking
-------------------------------

                 Key: INFRA-3125
                 URL: https://issues.apache.org/jira/browse/INFRA-3125
             Project: Infrastructure
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Backups
            Reporter: Jeff Turner


The script that backs up pgsql files from thor to bia is breaking, due to a bad permission: 

# tail -3 /export/home/apbackup/rsynclogs/backups-rbu-20101028.log
2010/10/28 00:02:16 [28550] rsync: opendir "/export/home/apbackup/remotelybackedup/postgresql" failed: Permission denied (13)
2010/10/28 00:02:16 [28550] FATAL I/O ERROR: dying to avoid a --delete-during issue with a pre-3.0.7 receiver.
2010/10/28 00:02:16 [28550] rsync error: requested action not supported (code 4) at flist.c(1795) [sender=3.0.7]
# 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Closed] (INFRA-3125) Remote backups on thor breaking

Posted by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

#asfinfra IRC Bot closed INFRA-3125.
------------------------------------

    
> Remote backups on thor breaking
> -------------------------------
>
>                 Key: INFRA-3125
>                 URL: https://issues.apache.org/jira/browse/INFRA-3125
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Backups
>            Reporter: Jeff Turner
>            Assignee: Jeff Turner
>
> The script that backs up pgsql files from thor to bia is breaking, due to a bad permission: 
> # tail -3 /export/home/apbackup/rsynclogs/backups-rbu-20101028.log
> 2010/10/28 00:02:16 [28550] rsync: opendir "/export/home/apbackup/remotelybackedup/postgresql" failed: Permission denied (13)
> 2010/10/28 00:02:16 [28550] FATAL I/O ERROR: dying to avoid a --delete-during issue with a pre-3.0.7 receiver.
> 2010/10/28 00:02:16 [28550] rsync error: requested action not supported (code 4) at flist.c(1795) [sender=3.0.7]
> # 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (INFRA-3125) Remote backups on thor breaking

Posted by "Jeff Turner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Turner resolved INFRA-3125.
--------------------------------

    Resolution: Fixed

There is no 'mess of symlinks'. There is a single directory, ~apbackup/remotelybackedup, and anything symlinked to there gets backed up, as documented in the README. The possibility of permission problems is inevitable if root creates the files, and apbackup reads them. We just need to not ignore errors. To that end I have:
 - verified the apbackup and root scripts normally run silently
 - removed the '2>&1 >/dev/null' from root's crontab entry
 - redirected apbackup mail to root so we are notified if scripts fail
 - added myself to the thor root aliases

> Remote backups on thor breaking
> -------------------------------
>
>                 Key: INFRA-3125
>                 URL: https://issues.apache.org/jira/browse/INFRA-3125
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Backups
>            Reporter: Jeff Turner
>            Assignee: Jeff Turner
>
> The script that backs up pgsql files from thor to bia is breaking, due to a bad permission: 
> # tail -3 /export/home/apbackup/rsynclogs/backups-rbu-20101028.log
> 2010/10/28 00:02:16 [28550] rsync: opendir "/export/home/apbackup/remotelybackedup/postgresql" failed: Permission denied (13)
> 2010/10/28 00:02:16 [28550] FATAL I/O ERROR: dying to avoid a --delete-during issue with a pre-3.0.7 receiver.
> 2010/10/28 00:02:16 [28550] rsync error: requested action not supported (code 4) at flist.c(1795) [sender=3.0.7]
> # 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (INFRA-3125) Remote backups on thor breaking

Posted by "Tony Stevenson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927029#action_12927029 ] 

Tony Stevenson commented on INFRA-3125:
---------------------------------------

Jeff,

I think we need to redo this backup.  The mess of symlinks everywhere and maintaining permissions to allow the apps to run and be backed up is getting too hard. 


> Remote backups on thor breaking
> -------------------------------
>
>                 Key: INFRA-3125
>                 URL: https://issues.apache.org/jira/browse/INFRA-3125
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Backups
>            Reporter: Jeff Turner
>            Assignee: Jeff Turner
>
> The script that backs up pgsql files from thor to bia is breaking, due to a bad permission: 
> # tail -3 /export/home/apbackup/rsynclogs/backups-rbu-20101028.log
> 2010/10/28 00:02:16 [28550] rsync: opendir "/export/home/apbackup/remotelybackedup/postgresql" failed: Permission denied (13)
> 2010/10/28 00:02:16 [28550] FATAL I/O ERROR: dying to avoid a --delete-during issue with a pre-3.0.7 receiver.
> 2010/10/28 00:02:16 [28550] rsync error: requested action not supported (code 4) at flist.c(1795) [sender=3.0.7]
> # 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (INFRA-3125) Remote backups on thor breaking

Posted by "Jeff Turner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Turner reassigned INFRA-3125:
----------------------------------

    Assignee: Jeff Turner

> Remote backups on thor breaking
> -------------------------------
>
>                 Key: INFRA-3125
>                 URL: https://issues.apache.org/jira/browse/INFRA-3125
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Backups
>            Reporter: Jeff Turner
>            Assignee: Jeff Turner
>
> The script that backs up pgsql files from thor to bia is breaking, due to a bad permission: 
> # tail -3 /export/home/apbackup/rsynclogs/backups-rbu-20101028.log
> 2010/10/28 00:02:16 [28550] rsync: opendir "/export/home/apbackup/remotelybackedup/postgresql" failed: Permission denied (13)
> 2010/10/28 00:02:16 [28550] FATAL I/O ERROR: dying to avoid a --delete-during issue with a pre-3.0.7 receiver.
> 2010/10/28 00:02:16 [28550] rsync error: requested action not supported (code 4) at flist.c(1795) [sender=3.0.7]
> # 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.