How to copy data from one disk to another?

Status
Not open for further replies.

Arvind

Cadet
Joined
Apr 10, 2015
Messages
4
Hello Experts,

I am very new to FreeNAS (a day old). Thanks to a number of guides online, I could install freeNAS and got it up on its feet. Please pardon my ignorance, if I end up asking extremely basic questions.

I installed two hard drives (3 TB & 160GB), and I also have a 4 TB hard drive (where all my data exists).

I would like to keep the 4TB HDD as my primary data store, and keep a backup of my pictures/songs on the 3TB hard drive. So, here are a few basic questions.
  • How do I take periodic backups (say once a quarter), from the 4TB HDD to the 3TB HDD?
  • When I tried to open the "Plugins" options on the Web GUI, I see the following error.
Request Method: GET
Request URL: http://192.168.1.96/plugins/plugin/home/?tab=plugins&dojo.preventCache=1428967918350
Software Version: FreeNAS-9.3-STABLE-201504100216
Exception Type: IndexError
Exception Value:
list index out of range
Exception Location: /usr/local/lib/python2.7/site-packages/django/db/models/query.py in __getitem__, line 132
Server time: Mon, 13 Apr 2015 16:31:58 -0700
Environment:

Software Version: FreeNAS-9.3-STABLE-201504100216
Request Method: GET
Request URL: http://192.168.1.96/plugins/plugin/home/?tab=plugins&dojo.preventCache=1428967918350


Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
105. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
157. return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
22. return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/plugins/views.py" in home
94. reset_plugin_progress()
File "/usr/local/www/freenasUI/../freenasUI/plugins/views.py" in reset_plugin_progress
78. jc = JailsConfiguration.objects.order_by("-id")[0]
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in __getitem__
132. return list(qs)[0]

Exception Type: IndexError at /plugins/plugin/home/
Exception Value: list index out of range


Cheers,
 

Attachments

  • freenas.jpg
    freenas.jpg
    75.9 KB · Views: 521
D

dlavigne

Guest
Regarding the traceback, you shouldn't be getting that. Please create a bug report at bugs.freenas.org that includes the full text of the traceback and post the issue number here.
 

Arvind

Cadet
Joined
Apr 10, 2015
Messages
4
For some reason, as soon as I posted this thread, the plugins came up fine. :)
I did install Plex, and it works fine.

But I still have that basic question. How do I copy data from one disk to another periodically (automatically)?

If automatic periodic backup is not supported, I can even do it manually. How do I do that?
 

Bidule0hm

Server Electronics Sorcerer
Joined
Aug 5, 2013
Messages
3,710
Search in the manual for "replication" and "snapshots" ;)
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Are you disks formatted ZFS? If so you can create snapshots and replicate them very easily. What are your server specs? How much RAM? What does your storage configuration look like?

A tip: you can use the screen capture tool (snipping-tool), copy the image to the clipboard and then paste directly into your post. You don't need to save the capture as a file first.
 

Arvind

Cadet
Joined
Apr 10, 2015
Messages
4
Thanks a lot for your response @depasseg and @Bidule0hm

@depasseg yes, the disks are formatted ZSF.

Following are the server specs

Server Specs
---------------
BuildFreeNAS-9.3-STABLE-201504152200
PlatformIntel(R) Core(TM) i3-4330 CPU @ 3.50GHz
Memory12054MB

Storage Configuration
3.0 TB
4.0 TB
160 GB

Attached is the screenshot of the periodic snapshot, that I have configured. Does it look fine?
 

Attachments

  • Screen Shot 2015-04-17 at 11.15.36 PM.png
    Screen Shot 2015-04-17 at 11.15.36 PM.png
    51.2 KB · Views: 495

Arvind

Cadet
Joined
Apr 10, 2015
Messages
4
How do I use rsync, to copy all data from one disk to another disk (mounted on freenas) ?
 
Status
Not open for further replies.
Top