Apps
Knowledge
People
Register
Login


-
- Content .- Fans (9) .- Knowledge Base  . 

OwnBackup

   0.3.8  

ownCloud Tool

Score 64%
OwnBackup
zoom


Homepage:  Link
Version Control:  Link
Issue Tracker:  Link
Minimum required   ownCloud 8.1
Downloads:  1972
Submitted:  Jul 19 2015
Updated:  Mar 9 2016

Description:

OwnBackup is the simple database backup solution for your ownCloud 8.1+ installation.

It's main purpose is to provide an easy solution to restore the tables of an app in case you accidentally corrupted the data or did anything you regret later.

## Installation

Copy the app package to your `owncloud/apps/` directory and unpack it there with "tar xvfz 170674-ownbackup.tar.gz".

## Disclaimer

- Use this app at your own risk! Data loss may occur!
- This app is no replacement for a more professional backup solution!

## Features

- OwnBackup automatically creates backups of your ownCloud tables hourly via cronjob or manually.
- You are able to choose which tables from a certain backup you want to restore.
- OwnBackup expires your backups automatically
  • for 24h one backup every hour is kept

  • for 7d one backup per day is kept

  • for 4w one backup per week is kept

  • for 12m one backup per 30d is kept

  • for 2y one backup per year is kept

  • - If the Zlib library is present the backups get compressed with gzip.
    - The backup should work with all databases, please report any problems.

    ## Limitations

    - I've only tested the app with Cron so far, please report any troubles with Webcron or AJAX.
    - One main limitation for the size that your DB can have to be backed up will be the `memory_limit` and the `max_execution_time` of your PHP installation!




    Changelog:

    v0.3.8
    - made the database restore functionality work again on ownCloud 9.0

    v0.3.7
    - more improvements for the automatic backup expiration

    v0.3.6
    - small change in admin.php after a user reported problems with it

    v0.3.5
    - some improvements and fixes for the automatic backup expiration

    v0.3.4
    - the auto expiration of backups was rewritten again, because the old algorithm didn't work for hourly backups
    * for 24h, keep one backup every hour
    * for 7d, keep one backup per day
    * for 4w, keep one backup per week
    * for 12m, keep one backup per 30d
    * next 2y, keep one backup per year

    v0.3.3
    - fixed sort order of backups in selector on admin page after creating a manual backup
    - new backup expiry scheme
    * for the next 24h, one backup every hour will be kept (like in the old behaviour)
    * for the next 7d, one backup per day will be kept
    * for the next 30d, one backup per week will be kept
    * for the next 1y, one backup per 30d will be kept
    * for the next 10y, one backup per year will be kept
    * until end of time, one backup per 100y will be kept
    - fixed some logging issues


    v0.3.2
    - fixed the problem that OwnBackup might be shown twice in the admin menu
    - fixed all compliance issues

    v0.3.1
    - tried to fix a problem with the OwnBackup section not showing up on the admin page

    v0.3
    - re-implemented the backup and restore page in the admin section

    v0.2.2.1
    - fixed a problem with the build

    v0.2.2
    - now showing a special page for non-admin users
    - using maintenance mode during restore
    - some user interaction and security improvements

    v0.2.1
    - Fixed removing of old backups

    v0.2
    - The backup and restore process was completely rewritten, the new backup sets are incompatible with version 0.1 backup sets!
    - The app should work with all databases and data types now, please report any problems.

    v0.1
    - First release




    LicenseAGPL
    ownCloud 8.1
    Send to a friend
    Subscribe
    Other  Apps  from pbe78
    Report inappropriate content



    -
    .

     error remove directory

     
     by dh-connect on: Jul 20 2015
     
    Score 50%

    I get an error in my oc log saying 'ownbackup could not remove backup directory ...', my oc data directory is not under /var/www/..., it's under a different location, could it be permission problem?


    Reply to this

    -

     Re: error remove directory

     
     by pbe78 on: Jul 20 2015
     
    Score 50%

    Thank you for reporting!
    Fixed in v0.2.1.


    Reply to this

    -
    .

     missing app symbol in menue

     
     by dh-connect on: Jul 20 2015
     
    Score 50%

    after a while (e.g. switching to + app menue) the ownbackup app symbol is not in the oc menue anymore (even when you are logged in as an admin), the only way to get it back is to go to administration menue, is that correct this way?


    Reply to this

    -

     Re: missing app symbol in menue

     
     by pbe78 on: Jul 20 2015
     
    Score 50%

    Phew, I never had that...
    Did you enable the app for all users or only for the administrator group? You need to be admin to access the OwnBackup page.


    Reply to this

    -

     Re: Re: missing app symbol in menue

     
     by dh-connect on: Jul 20 2015
     
    Score 50%

    once i had the symbol even in the non admin group, when i clicked on it a got a forwarding error, the symbol comes and goes i don't understand the logic of appearing, how do you enable the app for a certain user group?


    Reply to this

    -

     Re: Re: Re: missing app symbol in menue

     
     by pbe78 on: Jul 20 2015
     
    Score 50%

    On the Apps page of ownCloud, there is a checkbox next to the "deactivate" button of each app.


    Reply to this

    -

     Re: Re: Re: Re: missing app symbol in menue

     
     by dh-connect on: Jul 21 2015
     
    Score 50%

    ok i activate it only for admin group, but it had no effect on the behavior mentioned before, maybe a conflict with another app?


    Reply to this

    -

     Re: Re: Re: Re: Re: missing app symbol in menue

     
     by pbe78 on: Jul 21 2015
     
    Score 50%

    Can you please test the new version 0.2.2.


    Reply to this

    -

     Re: Re: Re: Re: Re: Re: missing app symbol in menu

     
     by dh-connect on: Jul 21 2015
     
    Score 50%

    still the same, i also deactivated all the other apps to see if it works, but no improvement



    -
    .

     Re: Re: Re: Re: Re: missing app symbol in menue

     
     by pbe78 on: Jul 21 2015
     
    Score 50%

    Can you please describe what behaviour you are currently perceiving?


    Reply to this

    -

     Re: Re: Re: Re: Re: Re: missing app symbol in menu

     
     by dh-connect on: Jul 21 2015
     
    Score 50%

    when i log in as an admin, the ownbackup icon is missing in the menue, then i click on the administration menue, the icon is still not there, but when i switch to another app like ownSMS the ownbackup icon appears in the menue, i can click on it and i can see the dialog, when i click on onother app like tasks, the ownback icon is gone, but it doesn't always work that way, that how i got it last time, I'm not sure if it has something to do with a certain sequence of dialog switchover



    -

     Re: Re: Re: Re: Re: missing app symbol in menue

     
     by pbe78 on: Jul 21 2015
     
    Score 50%

    That's really strange... What is shown in the top left menu is controlled by ownCloud. Maybe you can file an issue directly at https://github.com/owncloud/core/issues

    What version of ownCloud are you currently using?


    Reply to this

    -

     Re: Re: Re: Re: Re: Re: missing app symbol in menu

     
     by dh-connect on: Jul 21 2015
     
    Score 50%

    8.1.0.8 says oc config.php



    -
    .

     Re: Re: Re: Re: Re: missing app symbol in menue

     
     by pbe78 on: Jul 21 2015
     
    Score 50%

    I also have it running on a 8.1.0.8 and a 8.2.0.2 installation.

    Have you enabled the app for all users or just for certain groups? There were issues with that in ownCloud 8.1+...


    Reply to this

    -
    .

     Re: Re: Re: Re: Re: missing app symbol in menue

     
     by pbe78 on: Jul 21 2015
     
    Score 50%

    I think there was a problem with the build. Can you please try v0.2.2.1.


    Reply to this

    -

     Re: Re: Re: Re: Re: Re: missing app symbol in menu

     
     by dh-connect on: Jul 21 2015
     
    Score 50%

    it works now, good job



    -
    .

     Re: Re: Re: Re: Re: Re: missing app symbol in menu

     
     by pbe78 on: Jul 21 2015
     
    Score 50%

    finally :)
    thank you for your reports!



    -

     awesome

     
     by jospoortvliet on: Aug 11 2015
     
    Score 63%
    jospoortvlietjospoortvlie t
    KDE, openSUSE, Nextcloud
    editor
    Home

    This is great! Just enabled, and it works great.

    I do have some thoughts/suggestions:
    * not sure if possible/easy but wouldn't it make more sense to add an ownbackup section to the admin settings rather than an app?
    * I suggest not to ask modal questions like "are you sure you want to create a backup" -> if the user accidentally clicked it, they are better served with a cancel button.
    * I would love to store backups 'offsite' -> being able to choose one of the external storages available and using that for backups would rock. I'd love the encryption app to be enabled for that external storage alone then (not sure if this is possible ATM).
    * and of course - next up, backing up a selection of user data - I have some stuff I'd like to have a backup off, on the same external storage as mentioned above ;-)

    I'm sure you already have 100 ideas on how to improve. You should come to the ownCloud Contributor Conference, August 28-Sept 3 in Berlin - see https://owncloud.org/conf !!!

    There is travel support available, ownCloud Inc can pay up to 80% of your hotel and train/flight costs. Just ping me on jos at the owncloud.com mail server if you can use help!


    Reply to this

    -
    .

     Re: awesome

     
     by pbe78 on: Aug 11 2015
     
    Score 50%

    Thank you for your kind words and your input!

    - admin settings:
    Yes, I thought a while about putting it there, but then I decided against it because in my opinion backup and restore aren't really a settings and there is no other area for that. :/
    Plus that area is very crowded already...

    - modal dialog
    Thank you for your advice. Do you have any suggestions what I may use instead of a modal dialog?

    - offsite
    That sounds like a good idea, I have to look into that topic first.
    Do you care to file a feature request at https://github.com/pbek/ownbackup/issues ?

    - selection of user data
    Do you mean backing up the file space of users as well as the database? Please tell me more about your thoughts. :) Do you want to use ownbackup as complete backup solution? I think that would surely overburden the cron.php...

    - ownCloud Contributor Conference
    That's a great suggestion too, thank you. :) Although I'm not sure I'll make it, right now the time I may spend on traveling is very limited. :/

    Cheers, Patrizio


    Reply to this

    -

     Re: Re: awesome

     
     by jospoortvliet on: Aug 13 2015
     
    Score 50%
    jospoortvlietjospoortvlie t
    KDE, openSUSE, Nextcloud
    editor
    Home

    > - admin settings:
    > Yes, I thought a while about putting it there, but then I decided against it because in my opinion backup and
    > restore aren't really a settings and there is no other area for that. :/
    > Plus that area is very crowded already...

    True, still - that is what the sidebar is for (moving you to the right setting right away). Now there is this one app with just one small area with one button and one drop-down... It is true that this isn't really a setting, though. Let me create an issue and @mention jan-c borghardt, he's one of our designers and I'm sure he has an opinion ;-)

    > - modal dialog
    > Thank you for your advice. Do you have any suggestions what I may use instead of a modal dialog?

    Yeah, just start the backup and then offer undo (a cancel button and/or a remove backup option). Some thoughts on this are noted down in our app development documentation: https://doc.owncloud.org/server/8.1/developer_manual/general/codingguidelines.html#user-interface

    > - offsite
    > That sounds like a good idea, I have to look into that topic first.
    > Do you care to file a feature request at https://github.com/pbek/ownbackup/issues ?

    Will do!

    > - selection of user data
    > Do you mean backing up the file space of users as well as the database? Please tell me more about your
    > thoughts. :) Do you want to use ownbackup as complete backup solution? I think that would surely overburden
    > the cron.php...

    Yeah, this is certainly a bigger issue. I have terrabytes of data, thing is, only a few gigabyte I really care super much about. I know that, theoretically, I should back up with a dedicated backup tool but I am not such an advanced system administrator and I only run ownCloud on this server so for me (and probably many other 'simple' users) it makes it a lot easier if I could do this from ownCloud. Pick some folders and click to get an automatic backup of the data in them and the database...

    I will create an issue.

    > - ownCloud Contributor Conference
    > That's a great suggestion too, thank you. :) Although I'm not sure I'll make it, right now the time I
    > may spend on traveling is very limited. :/

    I hope you can make it!


    Reply to this

    -

     Re: Re: awesome

     
     by jospoortvliet on: Aug 13 2015
     
    Score 50%
    jospoortvlietjospoortvlie t
    KDE, openSUSE, Nextcloud
    editor
    Home

    well, like it or not, you have 5 new wish list items ;-)


    Reply to this

    -
    .

     Re: Re: awesome

     
     by pbe78 on: Aug 13 2015
     
    Score 50%

    Thank you for all your suggestions, I guess we will discuss them on github directly. ;)


    Reply to this

    -
    .

     Maybee mistake

     
     by Nemofly on: Aug 18 2015
     
    Score 50%

    Hey,

    i installed you 0.3.1 version and after that the Backup starts but will never ends.
    if i recycle the admin site there is a new backup but there is only the table oc_activity
    no more tables are backed up after 5 mins?
    Can you help me, or is it a bug?


    Reply to this

    -

     Re: Maybee mistake

     
     by pbe78 on: Aug 18 2015
     
    Score 50%

    That's interesting...
    Seems like the activity table must be huge.
    Do you know how big your database is, especially your mentioned activity table?
    Does the cronjob create its backups every hour?
    Which kind of cronjob do you use? The cron.php?


    Reply to this

    -
    .

     OwnBackup 3.1 two times in admin panel

     
     by Nemofly on: Aug 31 2015
     
    Score 50%

    hey,

    i found OwnBackup 3.1 two times in admin panel, after i installed it. Why this?

    Thanks a lot.


    Reply to this

    -

     Re: OwnBackup 3.1 two times in admin panel

     
     by pbe78 on: Aug 31 2015
     
    Score 50%

    Thank you for your report!
    I only had it once and cannot reproduce it since then.
    Can you please create an issue at https://github.com/pbek/ownbackup/issues, maybe someone of the ownCloud team can help us with that.


    Reply to this

    -
    .

     Re: OwnBackup 3.1 two times in admin panel

     
     by pbe78 on: Oct 5 2015
     
    Score 50%

    ...should be fixed in v0.3.2 now


    Reply to this

    Add commentBack




    -
     
     Who we are
    Contact
    Register
    Explore
    Apps
    Knowledge
    People
    Participate
    Add App
    Public API
    About apps.ownCloud.com
    Legal Notice
    Report Abuse
     

    Copyright 2011-2016 apps.ownCloud.com Team  
    All rights reserved. apps.ownCloud.com is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.