[Owncloud] Backup ownCloud?

Frank Karlitschek karlitschek at kde.org
Tue Nov 29 16:03:43 UTC 2011


If you want to do a complete backup of your ownCloud it might make sense to extend the existing "Import/Export" App so that it can create complete exports triggered from remote. At the moment this already works via the webinterface.

Should be relatively easy to implement.


Cheers
Frank


On 29.11.2011, at 16:44, Robin Appelman wrote:

> probably the easiest way is to look for http auth headers in
> export.php and login using those credentials.
> 
> shouldn't be more then 10 lines of code.
> 
> - Robin Appelman
> 
> 
> 
> On Tue, Nov 29, 2011 at 16:41, Thomas Olsen <thomas at tanghus.net> wrote:
>> On Tuesday 29 November 2011 16:35 Robin Appelman wrote:
>>> As far as I know, exporting the calendar without first being logged in
>>> through the session is not possible.
>> 
>> It doesn't seem so. Maybe if I get energy to do some coding I should look into
>> http authentication? Or maybe some kind of authentication token?
>> 
>>> On Tue, Nov 29, 2011 at 16:31, Thomas Olsen <thomas at tanghus.net> wrote:
>>>> On Tuesday 29 November 2011 16:22 Thomas Olsen wrote:
>>>>> On Tuesday 29 November 2011 16:18 Rok Andrée wrote:
>>>>>> I took a quick look and you'' probably need to send a post request
>>>>>> with 'password' and 'user' params. But i dont know how it will
>>>>>> handle it.>>
>>>>> Didn't think of that. I'll give it a try :-)
>>>> 
>>>> Nope. Didn't work. I tried:
>>>> 
>>>> wget --post-data="user=XXXX&password=XXXX" -O cal.ics
>>>> http://owncloud.xxxx.net/apps/calendar/export.php?calid=1
>>>> 
>>>> but still only got the login form.
>>>> 
>>>> --
>>>> Med venlig hilsen / Best Regards
>>>> 
>>>> Thomas Olsen
>>>> _______________________________________________
>>>> Owncloud mailing list
>>>> Owncloud at kde.org
>>>> https://mail.kde.org/mailman/listinfo/owncloud
>> --
>> Med venlig hilsen / Best Regards
>> 
>> Thomas Olsen
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud

Frank Karlitschek
karlitschek at kde.org





More information about the Owncloud mailing list