Apps
Knowledge
People
Register
Login


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

OwnBackup

   16.11.0  

ownCloud Tool

Score 64%
OwnBackup
zoom


Homepage:  Link
Version Control:  Link
Issue Tracker:  Link
Minimum required   ownCloud 8.1
Downloads:  2262
Submitted:  Jul 19 2015
Updated:  Nov 30 2016

Description:

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

Its 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:

    16.11.0
    - fixed an `internal server error` on ownCloud 9.1.2
    (for [Issue #7](https://github.com/pbek/ownbackup/issues/7))
    - added a notice to setup a cronjob to get periodic backups
    - switched release versioning to a more *rolling release style*,
    so it doesn't get confused with semantic versioning
    - `..`

    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



    goto page: prev   1  2 

    -
    .

     hello can you help me??

     
     by zidni on: Oct 3 2016
     
    Score 50%

    i have a qustion for strorage, in own cloud file has save in var/html/www/owncloud/data, the qustion is, how to change my file directori into freeNAS ? and hoto do that?


    Reply to this

    -

     Re: hello can you help me??

     
     by pbe78 on: Oct 3 2016
     
    Score 50%

    Do you want to move your whole data directory to an other path or just your backup directory?


    Reply to this

    -
    .

     how to backup via external cron job ??

     
     by owncloudos on: Oct 16 2016
     
    Score 50%

    Hey,
    couldn't figure how to start the backup process via an external cron job ...

    Which .php file to call ???

    Thank's

    Oliver


    Reply to this

    -

     Re: how to backup via external cron job ??

     
     by pbe78 on: Oct 16 2016
     
    Score 50%

    In ownCloud the cron.php does that job.


    Reply to this

    -
    .

     Re: Re: how to backup via external cron job ??

     
     by owncloudos on: Oct 16 2016
     
    Score 50%

    aehmm... does that mean that every time hth cron.php is called (because I'm doing this every 15mins) there is going to be a backup ??

    I thought I could actually define wher tehere will be a backup.. like once every day or night or at a specific time or weekly etc...


    Reply to this

    -

     Re: Re: Re: how to backup via external cron job ??

     
     by pbe78 on: Oct 17 2016
     
    Score 50%

    I'm sorry, there currently is no way to configure how many backups are made.


    Reply to this

    -
    .

     Re: Re: how to backup via external cron job ??

     
     by owncloudos on: Oct 16 2016
     
    Score 50%

    ... sorry.. guess I got it now.. but seems not to work for my NC 10.0.1

    Cron jobs are running correctly every 15mins...(webcron) but the only selectable Backup is from 24hrs ago..

    I also checked /data ... same thing.. only one backup from about 24hrs ago.. and I guess that was my first manual backup...


    Reply to this

    -

     Re: Re: Re: how to backup via external cron job ??

     
     by pbe78 on: Oct 17 2016
     
    Score 50%

    I run NC 10.0 with external cron.php and have backups about every hour.


    Reply to this

    -
    .

     Re: Re: Re: Re: how to backup via external cron jo

     
     by owncloudos on: Oct 17 2016
     
    Score 50%

    for me only manual backups works.... although cron.php is executed successfully (confirmed on admin gui) every 15mins....

    ... and no visible errors in log either ...

    anyone else seen this behaviour ?


    Reply to this

    -

     Re: Re: Re: Re: Re: how to backup via external cro

     
     by pbe78 on: Oct 17 2016
     
    Score 50%

    There should be a table `oc_jobs` in your ownCloud database. It should show an entry with `class`: `OCA\OwnBackup\Jobs\BackupJob`. Do you have such an entry?


    Reply to this

    -

     Re: Re: Re: Re: Re: Re: how to backup via external

     
     by owncloudos on: Oct 17 2016
     
    Score 50%

    yes... that entry exists, with last run and checked beeing identical ..1476694832 ... any idea how to calculate that back to date and time ;-) ?

    tha last manual backup I did today 17-10-2016 @ 11:57:13 hrs



    -

     Re: Re: Re: Re: Re: Re: how to backup via external

     
     by owncloudos on: Oct 17 2016
     
    Score 50%

    yes... that entry exists, with last run and checked beeing identical ..1476694832 ... any idea how to calculate that back to date and time ;-) ?

    tha last manual backup I did today 17-10-2016 @ 11:57:13 hrs



    -

     Re: Re: Re: Re: Re: how to backup via external cro

     
     by pbe78 on: Oct 17 2016
     
    Score 50%

    You can use this converter: http://www.unixtimestamp.com/


    Reply to this

    -

     Re: Re: Re: Re: Re: how to backup via external cro

     
     by pbe78 on: Oct 17 2016
     
    Score 50%

    And your log files shows no hints what is happening? Cron jobs also cause a log entry.


    Reply to this

    -

     Re: Re: Re: Re: Re: Re: how to backup via external

     
     by owncloudos on: Oct 17 2016
     
    Score 50%

    good point... no it doesn't

    I deleted my old /data/nextcloug.log today at 11:00hrs CET ... the new one still shows 0 B... nothing in there..

    And the last Cronjob was just executed successfully @ 13:00 hrs CET



    -

     Re: Re: Re: Re: Re: Re: how to backup via external

     
     by owncloudos on: Oct 17 2016
     
    Score 50%

    good point... no it doesn't

    I deleted my old /data/nextcloug.log today at 11:00hrs CET ... the new one still shows 0 B... nothing in there..

    And the last Cronjob was just executed successfully @ 13:00 hrs CET



    -
    .

     Re: Re: Re: Re: Re: Re: how to backup via external

     
     by owncloudos on: Oct 20 2016
     
    Score 50%

    weeelll ;-)

    after disabling and enabling PLUS deleting another (parallel) nextcloud installation (for testing purposes) some things have changed ;-)
    Maybe the second install of nextcloud was conflicting on my hosted server ?? (ALL-INKL)

    1. I found automatic backups every 3hrs !!!!
    2. I still have no log entrances at all... from ownbackup !

    Question remains ... why every 3 hrs ?? external cron is calling correctly every 15mins..

    I remember one saying: The worst possible thing in technology is... Something works, but you have no idea why ;-)

    Besides, I'm completely happy with updates every 3hrs - even less would be absolutely ok..!!!



    -

     Re: Re: Re: Re: Re: how to backup via external cro

     
     by pbe78 on: Oct 20 2016
     
    Score 50%

    great that they at least now work automatically :)


    Reply to this

    -
    .

     Re: Re: Re: Re: how to backup via external cron jo

     
     by owncloudos on: Oct 17 2016
     
    Score 50%

    for me only manual backups works.... although cron.php is executed successfully (confirmed on admin gui) every 15mins....

    ... and no visible errors in log either ...

    anyone else seen this behaviour ?


    Reply to this

    -

     OwnBackup 0.3.8 bricks OC 9.1.2

     
     by dh-connect on: Nov 9 2016
     
    Score 50%

    after activating the app OC wont work anymore: internal error, after deleting app from apps folder oc works again


    Reply to this

    -

     Re: OwnBackup 0.3.8 bricks OC 9.1.2

     
     by pbe78 on: Nov 9 2016
     
    Score 50%

    Does the owncloud log show anything?


    Reply to this

    -

     Re: Re: OwnBackup 0.3.8 bricks OC 9.1.2

     
     by dh-connect on: Nov 10 2016
     
    Score 50%

    Interner Serverfehler

    Der Server hat einen internen Fehler und konnte Ihre Anfrage nicht vervollständigen.

    Bitte wende Dich an den Serveradministrator, sollte dieser Fehler mehrfach auftreten, und füge Deiner Anfrage die unten stehenden technischen Details bei.

    Weitere Details können im Serverprotokoll gefunden werden.

    nothing in oc log


    Reply to this

    -

     Re: Re: Re: OwnBackup 0.3.8 bricks OC 9.1.2

     
     by dh-connect on: Nov 10 2016
     
    Score 50%

    got this here

    trim() expects parameter 1 to be string, array given at /data/ownclouddata/www/owncloud/lib/private/AppFramework/App.php#56


    Reply to this

    -

     Re: Re: Re: Re: OwnBackup 0.3.8 bricks OC 9.1.2

     
     by pbe78 on: Nov 10 2016
     
    Score 50%

    That's a php notice and it's in the ownCloud api... Was there nothing else? Apache error log? php error log? Can you still please open an issue.


    Reply to this

    -

     Re: OwnBackup 0.3.8 bricks OC 9.1.2

     
     by pbe78 on: Nov 9 2016
     
    Score 50%

    Can you please open an issue at https://github.com/pbek/ownbackup/issues


    Reply to this

    goto page: prev   1  2 

    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.